,, , ,, , , , image/svg+xml , image/svg+xml , interact.js , image/svg+xml , ,, , ,

@interactjs / core/BaseEvent / BaseEvent

Class: BaseEvent<T>

core/BaseEvent.BaseEvent

Type parameters

NameType
Textends ActionName | null = never

Hierarchy

Table of contents

Properties

Methods

Properties

currentTarget

• currentTarget: Node

Defined in

core/BaseEvent.ts:8


immediatePropagationStopped

• immediatePropagationStopped: boolean = false

Defined in

core/BaseEvent.ts:13


interactable

• interactable: Interactable

Defined in

core/BaseEvent.ts:9


interaction

• interaction: InteractionProxy<T>

Defined in

core/BaseEvent.ts:40


propagationStopped

• propagationStopped: boolean = false

Defined in

core/BaseEvent.ts:14


target

• target: EventTarget

Defined in

core/BaseEvent.ts:7


timeStamp

• timeStamp: number

Defined in

core/BaseEvent.ts:12


type

• type: string

Defined in

core/BaseEvent.ts:6

Methods

preventDefault

â–¸ preventDefault(): void

Returns

void

Defined in

core/BaseEvent.ts:20


stopImmediatePropagation

â–¸ stopImmediatePropagation(): void

Don’t call listeners on the remaining targets

Returns

void

Defined in

core/BaseEvent.ts:32


stopPropagation

â–¸ stopPropagation(): void

Don’t call any other listeners (even on the current target)

Returns

void

Defined in

core/BaseEvent.ts:25