Skip to content

WorkspaceLayoutStateKey.set

WorkspaceLayoutStateKey › set

Type: (value: T, leaf?: WorkspaceLeaf) => void

Stores a clone of the value and requests a layout save. Storing a value equal to the stored one does nothing.