WorkspaceLayoutStateChange<T>
A change of one key’s value, in one scope.
Import:
import type { WorkspaceLayoutStateChange } from '@mnaoumov/obsidian-lib/components/workspace-layout-state-component';Signature:
export interface WorkspaceLayoutStateChange<T>Properties
| Property | Type | Description |
|---|---|---|
| leaf | null | WorkspaceLeaf | The leaf whose value changed, or null for the workspace scope or a leaf no longer in the layout. |
| leafId | null | string | The id of the leaf whose value changed, or null for the workspace scope. |
| oldValue | T | The value before the change, as WorkspaceLayoutStateKey.get read it. |
| value | T | The value after the change, as WorkspaceLayoutStateKey.get reads it. |
Links to this page: