The FlowManager uses the seng-event module to dispatch events to notify parent classes about certain events. The following events can be listened to.
Provided the type + data to construct the flow event
The type of the event. Event listeners will only be called if their eventType match this type.
The data that is linked to the event. It contains the from and to information.
If true, the event will also go through a bubbling phase.
Indicates if preventDefault can be called on this event. This will prevent the 'default action' of the event from being executed. It is up to the EventDispatcher instance that dispatches the event to stop the default action from executing when the dispatchEvent method returns false
Will be updated by [[EventDispatcher]] during the dispatch of an event to the target that listeners are currently being called on. After completion of an event dispatch this value will be reset to null.
The data contains the target of the flow, this is used for detecting flows that end up at the same location.
The current event phase of this event. During event dispatch, this value will be either [[EventPhase.CAPTURING_PHASE|CAPTURING_PHASE]], [[EventPhase.AT_TARGET|AT_TARGET]] or [[EventPhase.BUBBLING_PHASE|BUBBLING_PHASE]]. If this event is not currently being dispatched this will be set to [[EventPhase.NONE|NONE]].
Will be updated by [[EventDispatcher]] when [[EventDispatcher.dispatchEvent|dispatchEvent]] is called with this event. The value will be set to the EventDispatcher instance that dispatched the event.
Indicates the time this event is dispatched in the number of milliseconds elapsed since 1 January 1970 00:00:00 UTC. This value will only be set if the setTimestamp parameter in the constructor is set to true. Otherwise, this value will be 0.
The flow start event indicates that the flow has started
The event handler to execute
An enum value, see [[CallListenerResult]]
The clone method returns a cloned instance of the original event.
May only be called when the cancelable property of an event is set to true. Indicates to the instance that dispatched the event that the default action for the event should not be executed.
When called during the dispatch of an event, will prevent any other event listener from being called for this event.
When called during the dispatch of an event, will prevent any targets further in the event chain from being processed. All listeners on the current target will still be executed.
Generated using TypeDoc