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

Parameter Type Description
e PointerEvent
rootDraggable IDraggable & IDeletable

Returns:

boolean