IEventWorkflowController
Extends IEventController.
Interface for an event controller that can affect event propagation through the tree.
Constructor
IEventWorkflowController()
Methods
Name |
Description |
Function that is called after an event has been handled by the event manager. This method is optional. |
|
Function that is called before an event is handled by the event manager. This method is optional. |
|
Called on the first subscription to the specified event type using the specified event manager. This method is optional. Inherited from IEventController. |
|
Called when a particular event type stops listening on the specified event manager (the last subscription is deleted). This method is optional. Inherited from IEventController. |
Methods details
onAfterEventFiring
{} onAfterEventFiring(events, type[, event])
Function that is called after an event has been handled by the event manager. This method is optional.
Parameters:
Parameter |
Default value |
Description |
— |
Type: IEventManager Event manager. |
|
|
— |
Type: String Type of event. |
— |
Type: IEvent Event. |
* Mandatory parameter/option.
onBeforeEventFiring
{} onBeforeEventFiring(events, type[, event])
Function that is called before an event is handled by the event manager. This method is optional.
Parameters:
Parameter |
Default value |
Description |
— |
Type: IEventManager Event manager. |
|
|
— |
Type: String Type of event. |
— |
Type: IEvent Event. |
* Mandatory parameter/option.
Mandatory parameter/option.