@interactjs / core/BaseEvent / BaseEvent
Class: BaseEvent<T>
core/BaseEvent.BaseEvent
Type parameters
Name | Type |
---|---|
T | extends ActionName | null = never |
Hierarchy
BaseEvent
↳
InteractEvent
↳
PointerEvent
Table of contents
Properties
- currentTarget
- immediatePropagationStopped
- interactable
- interaction
- propagationStopped
- target
- timeStamp
- type
Methods
Properties
currentTarget
• currentTarget: Node
Defined in
immediatePropagationStopped
• immediatePropagationStopped: boolean
= false
Defined in
interactable
• interactable: Interactable
Defined in
interaction
• interaction: InteractionProxy
<T
>
Defined in
propagationStopped
• propagationStopped: boolean
= false
Defined in
target
• target: EventTarget
Defined in
timeStamp
• timeStamp: number
Defined in
type
• type: string
Defined in
Methods
preventDefault
â–¸ preventDefault(): void
Returns
void
Defined in
stopImmediatePropagation
â–¸ stopImmediatePropagation(): void
Don’t call listeners on the remaining targets
Returns
void
Defined in
stopPropagation
â–¸ stopPropagation(): void
Don’t call any other listeners (even on the current target)
Returns
void