blockly > Block > setDeletable
Block.setDeletable() method
Set whether this block is deletable or not.
Signature:
setDeletable(deletable: boolean): void;
Parameters
Parameter | Type | Description |
---|---|---|
deletable | boolean | True if deletable. |
Returns:
void