Skip to main content

Interface: LoadedWorkspace

Result of the workspace initialization hook.

See

useLoadedWorkspace

Properties

PropertyModifierTypeDescription

getContext

readonly

() => WorkspaceContext

Returns the top-level context for the mounted workspace via the hook.

Throws an error if the workspace is not mounted yet.

onMount

readonly

(workspace: null | Workspace) => void

Callback to pass as ref to the top-level workspace component to perform the initialization specified in the hook.