Class pwlib.appEvent.appInit
Extends
pwlib.appEvent.
Application initialization event. This event is not cancelable.
Defined in: lib.js.
Constructor Attributes | Constructor Name and Description |
---|---|
pwlib.appEvent.appInit(state, errorMessage)
|
Field Attributes | Field Name and Description |
---|---|
Initialization error message, if any.
|
|
<constant> |
Application initialization completed successfully.
|
<constant> |
Application initialization failed.
|
<constant> |
Application initialization not started.
|
<constant> |
Application initialization started.
|
Initialization state.
|
- Fields borrowed from class pwlib.appEvent:
- cancelable, defaultPrevented, target, type
- Methods borrowed from class pwlib.appEvent:
- preventDefault, stopPropagation, toString
Class Detail
pwlib.appEvent.appInit(state, errorMessage)
- Parameters:
- {Number} state
- The initialization state.
- {String} errorMessage Optional
- The error message, if any.
- Throws:
- {TypeError}
- If the state is not a number.
Field Detail
{String|null}
errorMessage
Initialization error message, if any.
<constant>
INIT_DONE
Application initialization completed successfully.
<constant>
INIT_ERROR
Application initialization failed.
<constant>
INIT_NOT_STARTED
Application initialization not started.
<constant>
INIT_STARTED
Application initialization started.
{Number}
state
Initialization state.