blockly > serialization > ISerializer > clear

serialization.ISerializer.clear() method

Clears the state of the plugin or system.

Signature:

clear(workspace: Workspace): void;

Parameters

Parameter Type Description
workspace Workspace The workspace the system to clear the state of is associated with.

Returns:

void