SerializedWorkspaceSidedock
Unofficial
Serialized representation of a workspace sidedock (left or right sidebar).
Import:
import type { SerializedWorkspaceSidedock } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface SerializedWorkspaceSidedock extends SerializedWorkspaceItemExtends: SerializedWorkspaceItem
Properties
| Property | Type | Description | |
|---|---|---|---|
| collapsed | boolean | Whether the sidedock is collapsed. | |
| dimension? | number | Size dimension of the workspace item (width or height depending on split direction). (Inherited from SerializedWorkspaceItem) | |
| id | string | Unique identifier of the workspace item. (Inherited from SerializedWorkspaceItem) | |
| type | string | Type of the workspace item (e.g., 'split', 'tabs', 'leaf'). (Inherited from SerializedWorkspaceItem) | |
| width | number | Width of the sidedock in pixels. |
Links to this page: