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, draggable: IDraggable & IDeletable): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
e | PointerEvent | |
draggable | IDraggable & IDeletable |
Returns:
boolean