Documentation
Reference
2.1.55 (current version)
collection
interactivityModel
Interfaces

IEventWorkflowController

Extends IEventController.

Interface for an event controller that can affect event propagation through the tree.

Constructor | Methods

Constructor

IEventWorkflowController()

Methods

NameDescription
onAfterEventFiring(events, type[, event])

Function that is called after an event has been handled by the event manager. This method is optional.

onBeforeEventFiring(events, type[, event])

Function that is called before an event is handled by the event manager. This method is optional.

onStartListening(events, type)

Called on the first subscription to the specified event type using the specified event manager. This method is optional.

Inherited from IEventController.

onStopListening(events, type)

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:

ParameterDefault valueDescription
events*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: IEventManager

Event manager.

type*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: String

Type of event.

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:

ParameterDefault valueDescription
events*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: IEventManager

Event manager.

type*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: String

Type of event.

event

Type: IEvent

Event.

* Mandatory parameter/option.