Skip to content

LeafEntry

Unofficial

Serialized representation of a workspace leaf or split for layout persistence.

Import:

import type { LeafEntry } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface LeafEntry

Properties

PropertyTypeDescription
children?LeafEntry[]Child leaf entries if this is a split container.
direction?SplitDirectionSplit direction if this is a split container.
idstringUnique identifier for the leaf.
state?ViewStateView state of the leaf.
typestringType of the leaf entry (e.g. "leaf", "split", "tabs").
width?numberWidth of the leaf in pixels, if applicable.

Links to this page: