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

@interactjs / core/Eventable / Eventable

Class: Eventable

core/Eventable.Eventable

Table of contents

Properties

Methods

Properties

global

global: any

Defined in

core/Eventable.ts:23


immediatePropagationStopped

immediatePropagationStopped: boolean = false

Defined in

core/Eventable.ts:22


options

options: any

Defined in

core/Eventable.ts:19


propagationStopped

propagationStopped: boolean = false

Defined in

core/Eventable.ts:21


types

types: NormalizedListeners = {}

Defined in

core/Eventable.ts:20

Methods

fire

fire<T>(event): void

Type parameters

NameType
Textends Object

Parameters

NameType
eventT

Returns

void

Defined in

core/Eventable.ts:29


getRect

getRect(_element): Rect

Parameters

NameType
_elementElement

Returns

Rect

Defined in

core/Eventable.ts:73


off

off(type, listener): void

Parameters

NameType
typestring
listenerListenersArg

Returns

void

Defined in

core/Eventable.ts:53


on

on(type, listener): void

Parameters

NameType
typestring
listenerListenersArg

Returns

void

Defined in

core/Eventable.ts:45