EntityEvent
Defined in: entityEvents.ts:27
Type Parameters
Section titled “Type Parameters”TData = unknown
Properties
Section titled “Properties”currentTarget
Section titled “currentTarget”
readonlycurrentTarget:number
Defined in: entityEvents.ts:33
The entity currently handling the event (differs from target during bubbling).
readonlydata:TData
Defined in: entityEvents.ts:35
User-provided payload (shape depends on type).
defaultPrevented
Section titled “defaultPrevented”defaultPrevented:
boolean
Defined in: entityEvents.ts:39
True if any handler called preventDefault().
propagationStopped
Section titled “propagationStopped”propagationStopped:
boolean
Defined in: entityEvents.ts:37
True if any handler called stopPropagation().
target
Section titled “target”
readonlytarget:number
Defined in: entityEvents.ts:31
The entity where the event originated.
readonlytype:string
Defined in: entityEvents.ts:29
Event type string (e.g. 'click', 'change').
Methods
Section titled “Methods”preventDefault()
Section titled “preventDefault()”preventDefault():
void
Defined in: entityEvents.ts:43
Signal that the default action (if any) should be skipped.
Returns
Section titled “Returns”void
stopPropagation()
Section titled “stopPropagation()”stopPropagation():
void
Defined in: entityEvents.ts:41
Stop the event from bubbling further up the parent chain.
Returns
Section titled “Returns”void