Skip to main content

Home > blockly > dragging > Dragger > wouldDeleteDraggable

dragging.Dragger.wouldDeleteDraggable() method

Returns true if we would delete the draggable if it was dropped at the current location.

Signature:

protected wouldDeleteDraggable(e: PointerEvent, rootDraggable: IDraggable & IDeletable): boolean;

Parameters

ParameterTypeDescription
ePointerEvent
rootDraggableIDraggable & IDeletable

Returns:

boolean