openmrs-esm-core

O3 Framework / closeWorkspace

Function: closeWorkspace()

closeWorkspace(name, options): boolean

Defined in: packages/framework/esm-styleguide/src/workspaces/workspaces.ts:453

Function to close an opened workspace

Parameters

name

string

Workspace registration name

options

CloseWorkspaceOptions = {}

Options to close workspace

Returns

boolean

Deprecated

migrate to workspace v2 and call closeWorkspace from Workspace2DefinitionProps instead. See: https://openmrs.atlassian.net/wiki/spaces/docs/pages/615677981/Workspace+v2+Migration+Guide