blockly > IDragger > onDragEnd
IDragger.onDragEnd() method
Handles any drag cleanup.
Signature:
onDragEnd(e: PointerEvent, totalDelta: Coordinate): void;
Parameters
Parameter | Type | Description |
---|---|---|
e | PointerEvent | PointerEvent that finished the drag. |
totalDelta | Coordinate | The total distance, in pixels, that the mouse has moved since the start of the drag. |
Returns:
void