Documentation
Reference
2.1.53 (current version)
collection
interactivityModel
Interfaces

IEventTrigger

The object which triggers the events.

Constructor | Methods

Constructor

IEventTrigger()

Methods

NameReturnsDescription
fire(type[, eventObject])

IEventTrigger

Triggers an event.

Methods details

fire

Triggers an event.

Returns self-reference.

Parameters:

ParameterDefault valueDescription
type*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: String

Type of event.

eventObject

Type: Object|IEvent

Object that describes the event. It can be either an arbitrary object, or implement the interface IEvent. In the latter case, after each handler is called, the value of the isImmediatePropagationStopped() method is checked, and if true, event propagation is stopped immediately.

* Mandatory parameter/option.