@serenity-is/sleekgrid / EventData
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.
Implements
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new EventData()
Properties
_isImmediatePropagationStopped
• Private
_isImmediatePropagationStopped: boolean
= false
Defined in
_isPropagationStopped
• Private
_isPropagationStopped: boolean
= false
Defined in
Methods
isImmediatePropagationStopped
▸ isImmediatePropagationStopped(): boolean
Returns whether stopImmediatePropagation was called on this event object.\
Returns
boolean
Implementation of
IEventData.isImmediatePropagationStopped
Defined in
isPropagationStopped
▸ isPropagationStopped(): boolean
Returns whether stopPropagation was called on this event object.
Returns
boolean
Implementation of
IEventData.isPropagationStopped
Defined in
stopImmediatePropagation
▸ stopImmediatePropagation(): void
Prevents the rest of the handlers from being executed.
Returns
void
Implementation of
IEventData.stopImmediatePropagation
Defined in
stopPropagation
▸ stopPropagation(): void
Stops event from propagating up the DOM tree.
Method
stopPropagation
Returns
void