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

@interactjs / modifiers/types / Modifier

Interface: Modifier<Defaults, State, Name, Result>

modifiers/types.Modifier

Type parameters

NameType
Defaultsany
Stateextends ModifierState = any
Nameextends string = any
Resultany

Table of contents

Properties

Properties

disable

• disable: () => Modifier<Defaults, State, Name, Result>

Type declaration

â–¸ (): Modifier<Defaults, State, Name, Result>

Returns

Modifier<Defaults, State, Name, Result>

Defined in

modifiers/types.ts:21


enable

• enable: () => Modifier<Defaults, State, Name, Result>

Type declaration

â–¸ (): Modifier<Defaults, State, Name, Result>

Returns

Modifier<Defaults, State, Name, Result>

Defined in

modifiers/types.ts:20


methods

• methods: Object

Type declaration

NameType
beforeEnd?(arg: ModifierArg<State>) => void | Point
set?(arg: ModifierArg<State>) => Result
start?(arg: ModifierArg<State>) => void
stop?(arg: ModifierArg<State>) => void

Defined in

modifiers/types.ts:13


name

• Optional name: Name

Defined in

modifiers/types.ts:19


options

• options: Defaults

Defined in

modifiers/types.ts:12