Optional
chain: AbstractInteraction[]Optional
index: numberCalled when the modifier keys have changed.
Main function, called when an event is raised for this interaction
Removes an interaction from the chain, returning the index from which it was removed
Sets the interaction active. Use boolean (true|false) to toggle default behavior. Pass it a bitmask of EventType to change the active state. Call without arguments to reset the default active, modification key and pointer Key behavior
Optional
active: number | booleanThe current active bitmask for EventType
The interactions to handle one after the other
A unique identifier for this interaction
The current active ModificationKeyType
The currently active PointerKeyType
Generated using TypeDoc
Add an interaction to the chain. Optionally passing an index where to add the interaction to.