Class EventData

An event object for passing data to event handlers and letting them control propagation.

This is pretty much identical to how W3C and jQuery implement events.

class

EventData

constructor

Index

Constructor methods

Methods

Constructor methods

constructor(): EventData

Returns

EventData

Methods

public isImmediatePropagationStopped(): boolean

Returns whether stopImmediatePropagation was called on this event object.\

method

isImmediatePropagationStopped

Returns

boolean

public isPropagationStopped(): boolean

Returns whether stopPropagation was called on this event object.

method

isPropagationStopped

Returns

boolean

public stopImmediatePropagation()

Prevents the rest of the handlers from being executed.

method

stopImmediatePropagation

public stopPropagation()

Stops event from propagating up the DOM tree.

method

stopPropagation