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 | ||
rootDraggable |
Returns:
boolean