Enumeration: StateEvents
@ima/core.StateEvents
Events constants, which is firing to app.
Enumeration Members
AFTER_CHANGE_STATE
• AFTER_CHANGE_STATE = "$IMA.$PageStateManager.afterChangeState"
PateStateManager fire event $IMA.$PageStateManager.afterChangeState
after state
is patched. Event's data contain {newState: Object<string, *>}
.
Defined in
packages/core/src/page/state/StateEvents.ts:17
BEFORE_CHANGE_STATE
• BEFORE_CHANGE_STATE = "$IMA.$PageStateManager.beforeChangeState"
PateStateManager fire event $IMA.$PageStateManager.beforeChangeState
before
state is patched. Event's data contain
{ oldState: Object<string, *>, newState: Object<string, *>,
pathState: Object<string, *> }
.