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 LeafEntryProperties
| Property | Type | Description | |
|---|---|---|---|
| children? | LeafEntry[] | Child leaf entries if this is a split container. | |
| direction? | SplitDirection | Split direction if this is a split container. | |
| id | string | Unique identifier for the leaf. | |
| state? | ViewState | View state of the leaf. | |
| type | string | Type of the leaf entry (e.g. "leaf", "split", "tabs"). | |
| width? | number | Width of the leaf in pixels, if applicable. |
Links to this page: