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

@interactjs / core/InteractableSet / InteractableSet

Class: InteractableSet

core/InteractableSet.InteractableSet

Table of contents

Properties

Methods

Properties

list

• list: Interactable[] = []

Defined in

core/InteractableSet.ts:24


scope

• scope: Scope

Defined in

core/InteractableSet.ts:30


selectorMap

• selectorMap: Object = {}

Index signature

â–ª [selector: string]: Interactable[]

Defined in

core/InteractableSet.ts:26

Methods

forEachMatch

â–¸ forEachMatch<T>(node, callback): void | T

Type parameters

Name
T

Parameters

NameType
nodeNode
callback(interactable: Interactable) => T

Returns

void | T

Defined in

core/InteractableSet.ts:98


getExisting

â–¸ getExisting(target, options?): Interactable

Parameters

NameType
targetTarget
options?Options

Returns

Interactable

Defined in

core/InteractableSet.ts:82


new

â–¸ new(target, options?): Interactable

Parameters

NameType
targetTarget
options?any

Returns

Interactable

Defined in

core/InteractableSet.ts:47