Skip to content

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

PropertyTypeDescription
leafnull | WorkspaceLeafThe leaf whose value changed, or null for the workspace scope or a leaf no longer in the layout.
leafIdnull | stringThe id of the leaf whose value changed, or null for the workspace scope.
oldValueTThe value before the change, as WorkspaceLayoutStateKey.get read it.
valueTThe value after the change, as WorkspaceLayoutStateKey.get reads it.

Links to this page: