IBlockDragger interface
A block dragger interface.
Signature:
export interface IBlockDragger
Methods
Method | Description |
---|---|
dispose() | Sever all links from this object and do any necessary cleanup. |
drag(e, currentDragDeltaXY) | Execute a step of block dragging, based on the given event. Update the display accordingly. |
endDrag(e, currentDragDeltaXY) | Finish a block drag and put the block back on the workspace. |
getInsertionMarkers() | Get a list of the insertion markers that currently exist. Drags have 0, 1, or 2 insertion markers. |
startDrag(currentDragDeltaXY, healStack) | Start dragging a block. This includes moving it to the drag surface. |