@interactjs / modifiers/types / Modifier
Interface: Modifier<Defaults, State, Name, Result>
modifiers/types.Modifier
Type parameters
Name | Type |
---|---|
Defaults | any |
State | extends ModifierState = any |
Name | extends string = any |
Result | any |
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
enable
• enable: () => Modifier
<Defaults
, State
, Name
, Result
>
Type declaration
â–¸ (): Modifier
<Defaults
, State
, Name
, Result
>
Returns
Modifier
<Defaults
, State
, Name
, Result
>
Defined in
methods
• methods: Object
Type declaration
Name | Type |
---|---|
beforeEnd? | (arg : ModifierArg <State >) => void | Point |
set? | (arg : ModifierArg <State >) => Result |
start? | (arg : ModifierArg <State >) => void |
stop? | (arg : ModifierArg <State >) => void |
Defined in
name
• Optional
name: Name
Defined in
options
• options: Defaults