blockly > Workspace > clear

Workspace.clear() method

Dispose of all blocks and comments in workspace.

Signature:

clear(): void;

Returns:

void