blockly > WorkspaceSvg > clear

WorkspaceSvg.clear() method

Dispose of all blocks in workspace, with an optimization to prevent resizes.

Signature:

clear(): void;

Returns:

void