Skip to main content

Home > blockly > IDragger > onDragEnd

IDragger.onDragEnd() method

Handles any drag cleanup.

Signature:

onDragEnd(e: PointerEvent, totalDelta: Coordinate): void;

Parameters

ParameterTypeDescription
ePointerEventPointerEvent that finished the drag.
totalDeltaCoordinateThe total distance, in pixels, that the mouse has moved since the start of the drag.

Returns:

void