WorkspacesPluginInstance.loadWorkspace method
WorkspacesPluginInstance › loadWorkspace
Unofficial
Load a saved workspace: make it active, apply its layout throughapp.workspace.changeLayout() and persist the plugin data. Does nothing when no workspace has that name.Signature:
loadWorkspace(name: string): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | string | The name of the workspace to load. |
Returns: Promise<void> — A promise that resolves when the layout is applied.