@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

Methods

Constructors

constructor

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:48


isPropagationStopped

isPropagationStopped(): boolean

Returns whether stopPropagation was called on this event object.

Returns

boolean

Implementation of

IEventData.isPropagationStopped

Defined in

core/event.ts:34


stopImmediatePropagation

stopImmediatePropagation(): void

Prevents the rest of the handlers from being executed.

Returns

void

Implementation of

IEventData.stopImmediatePropagation

Defined in

core/event.ts:41


stopPropagation

stopPropagation(): void

Stops event from propagating up the DOM tree.

Returns

void

Method

stopPropagation

Implementation of

IEventData.stopPropagation

Defined in

core/event.ts:27