Skip to main content

Home > blockly > common > setMainWorkspace

common.setMainWorkspace() function

Sets last used main workspace.

Signature:

export declare function setMainWorkspace(workspace: Workspace): void;

Parameters

ParameterTypeDescription
workspaceWorkspaceThe most recently used top level workspace.

Returns:

void