Skip to main content

Home > blockly > IDragStrategy > endDrag

IDragStrategy.endDrag() method

Handles any drag cleanup, including e.g. connecting or deleting blocks.

Signature:

endDrag(e?: PointerEvent): void;

Parameters

ParameterTypeDescription
ePointerEvent(Optional) PointerEvent that finished the drag. Can be used to check modifier keys, etc.

Returns:

void