blockly > WorkspaceSvg > removeTopBlock
WorkspaceSvg.removeTopBlock() method
Removes a block from the list of top blocks.
Signature:
removeTopBlock(block: Block): void;
Parameters
Parameter | Type | Description |
---|---|---|
block | Block | Block to remove. |
Returns:
void