blockly > dragging > BlockDragStrategy > endDrag
dragging.BlockDragStrategy.endDrag() method
Cleans up any state at the end of the drag. Applies any pending connections.
Signature:
endDrag(_e: PointerEvent | KeyboardEvent | undefined, disposition: DragDisposition): void;
Parameters
Parameter | Type | Description |
|---|---|---|
_e | PointerEvent | KeyboardEvent | undefined | |
disposition |
Returns:
void