Skip to content

StateHistory

Defined in: src/obsidian/internals/StateHistory.d.ts:7

Properties

eState

eState: object

Defined in: src/obsidian/internals/StateHistory.d.ts:11

Ephemeral cursor state within Editor of leaf

cursor

cursor: EditorRange

scroll

scroll: number


icon?

optional icon: string

Defined in: src/obsidian/internals/StateHistory.d.ts:18

Icon of the leaf


leafHistory?

optional leafHistory: object

Defined in: src/obsidian/internals/StateHistory.d.ts:22

History of previous and future states of leaf

backHistory

backHistory: StateHistory[]

forwardHistory

forwardHistory: StateHistory[]


parentId?

optional parentId: string

Defined in: src/obsidian/internals/StateHistory.d.ts:29

Id of parent to which the leaf belonged


rootId?

optional rootId: string

Defined in: src/obsidian/internals/StateHistory.d.ts:33

Id of root to which the leaf belonged


state

state: ViewState

Defined in: src/obsidian/internals/StateHistory.d.ts:37

Last state of the leaf


title?

optional title: string

Defined in: src/obsidian/internals/StateHistory.d.ts:41

Title of the leaf