blockly > common > setMainWorkspace
common.setMainWorkspace() function
Sets last used main workspace.
Signature:
export declare function setMainWorkspace(workspace: Workspace): void;
Parameters
Parameter | Type | Description |
---|---|---|
workspace | Workspace | The most recently used top level workspace. |
Returns:
void