Function draggable
Parameters
- node: HTMLElement
The node associated with the action.
- options: DraggableOptions
Draggable action options.
Returns ActionReturn<Partial<DraggableOptions>>
Action lifecycle functions.
- node: HTMLElement
The node associated with the action.
Draggable action options.
Action lifecycle functions.
Provides an action to enable pointer dragging of an HTMLElement and invoke
position.seton a given TJSPosition instance provided. When the attached boolean store state changes the draggable action is enabled or disabled.