Skip to content

EntityEvent

Defined in: entityEvents.ts:27

TData = unknown

readonly currentTarget: number

Defined in: entityEvents.ts:33

The entity currently handling the event (differs from target during bubbling).


readonly data: TData

Defined in: entityEvents.ts:35

User-provided payload (shape depends on type).


defaultPrevented: boolean

Defined in: entityEvents.ts:39

True if any handler called preventDefault().


propagationStopped: boolean

Defined in: entityEvents.ts:37

True if any handler called stopPropagation().


readonly target: number

Defined in: entityEvents.ts:31

The entity where the event originated.


readonly type: string

Defined in: entityEvents.ts:29

Event type string (e.g. 'click', 'change').

preventDefault(): void

Defined in: entityEvents.ts:43

Signal that the default action (if any) should be skipped.

void


stopPropagation(): void

Defined in: entityEvents.ts:41

Stop the event from bubbling further up the parent chain.

void