Class EventObject

The mxEventObject is a wrapper for all properties of a single event. Additionally, it also offers functions to consume the event and check if it was consumed as follows:

evt.consume();
INV: evt.isConsumed() == true

Constructor: mxEventObject

Constructs a new event object with the specified name. An optional sequence of key, value pairs can be appended to define properties.

Example:

new mxEventObject("eventName", key1, val1, .., keyN, valN)

Constructors

Properties

consumed: boolean = false

Holds the consumed state. Default is false.

name: string

Holds the name.

properties: EventProperties

Holds the properties as an associative array.

Methods