@interactjs / core/BaseEvent / BaseEvent
core/BaseEvent.BaseEvent
Name | Type |
---|---|
T |
extends ActionName | null = never |
-
BaseEvent
- currentTarget
- immediatePropagationStopped
- interactable
- interaction
- propagationStopped
- target
- timeStamp
- type
• currentTarget: Node
• immediatePropagationStopped: boolean
= false
• interactable: Interactable
• interaction: InteractionProxy
<T
>
• propagationStopped: boolean
= false
• target: EventTarget
• timeStamp: number
• type: string
▸ preventDefault(): void
void
▸ stopImmediatePropagation(): void
Don't call listeners on the remaining targets
void
▸ stopPropagation(): void
Don't call any other listeners (even on the current target)
void