Skip to content

Workspace.deserializeLayout method

Workspace › deserializeLayout

Unofficial

Deserialize workspace entries into actual Leaf objects.

Signature:

deserializeLayout(leaf: LeafEntry, ribbon?: 'left' | 'right'): Promise<WorkspaceLeaf>

Parameters:

ParameterTypeDescription
leafLeafEntryLeaf entry to deserialize.
ribbon?'left' | 'right'Whether the leaf belongs to the left or right ribbon.

Returns: Promise<WorkspaceLeaf> — A promise that resolves to the deserialized leaf.