Skip to main content

Home > blockly > Block > setDeletable

Block.setDeletable() method

Set whether this block is deletable or not.

Signature:

setDeletable(deletable: boolean): void;

Parameters

ParameterTypeDescription
deletablebooleanTrue if deletable.

Returns:

void