IDragStrategy interface
Signature:
export interface IDragStrategy
Methods
Method | Description |
|---|---|
Handles moving elements to the new location, and updating any visuals based on that (e.g connection previews for blocks). | |
Handles any drag cleanup, including e.g. connecting or deleting blocks. | |
Returns true iff the element is currently movable. | |
Moves the draggable back to where it was at the start of the drag. | |
Handles any drag startup (e.g moving elements to the front of the workspace). |