Skip to main content

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(coordinate: Coordinate, rootDraggable: IDraggable & IDeletable): boolean;

Parameters

Parameter

Type

Description

coordinate

Coordinate

rootDraggable

IDraggable & IDeletable

Returns:

boolean