BootProcess

BootProcess

Class representing the process of loading or reloading CD onto an article page. In some sense, it is a (re-)builder for controller.

Constructor

new BootProcess(passedDataopt)

Source:

Create a boot process.

Parameters:
Name Type Attributes Default Description
passedData PassedData <optional>
{}

Methods

(async) execute(isReload)

Source:

For internal use. Execute the process.

Parameters:
Name Type Description
isReload boolean

Is the page reloaded.

Fires:

isFirstRun() → {boolean}

Source:

Check if the page processed for the first time after it was loaded (i.e., not reloaded using the script's refresh functionality).

Returns:
Type
boolean