blockly > BlockSvg > setDeletable

BlockSvg.setDeletable() method

Add blocklyNotDeletable class when block is not deletable Or remove class when block is deletable

Signature:

setDeletable(deletable: boolean): void;

Parameters

Parameter Type Description
deletable boolean

Returns:

void