Skip to content

Latest commit

 

History

History
100 lines (51 loc) · 2.08 KB

EventData.md

File metadata and controls

100 lines (51 loc) · 2.08 KB

@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

Constructors

new EventData()

new EventData(): EventData

Returns

EventData

Methods

isImmediatePropagationStopped()

isImmediatePropagationStopped(): boolean

Returns whether stopImmediatePropagation was called on this event object.\

Returns

boolean

Implementation of

IEventData.isImmediatePropagationStopped

Defined in

core/event.ts:47


isPropagationStopped()

isPropagationStopped(): boolean

Returns whether stopPropagation was called on this event object.

Returns

boolean

Implementation of

IEventData.isPropagationStopped

Defined in

core/event.ts:33


stopImmediatePropagation()

stopImmediatePropagation(): void

Prevents the rest of the handlers from being executed.

Returns

void

Implementation of

IEventData.stopImmediatePropagation

Defined in

core/event.ts:40


stopPropagation()

stopPropagation(): void

Stops event from propagating up the DOM tree.

Returns

void

Implementation of

IEventData.stopPropagation

Defined in

core/event.ts:26