DemoVaultButtonMountState
What the active view held when a button was given up on as never rendered.
Import:
import type { DemoVaultButtonMountState } from '@mnaoumov/obsidian-dev-toolkit/demo-vault-buttons';Signature:
export interface DemoVaultButtonMountStateProperties
| Property | Type | Description |
|---|---|---|
| activeFilePath | null | string | The path of the active file, or null when none is open. |
| activeViewMode | null | string | The mode of the active markdown view, preview or source, or null when there is none. |
| activeViewType | null | string | The type of the most recent leaf's view, such as markdown, or null when there is none. |
| mountedCaptions | readonly string[] | The captions of the buttons mounted at that moment, in document order. |
| scrollHeight | null | number | The reading-view scroller's scrollHeight, or null when it was not found. |
| scrollTop | null | number | The reading-view scroller's scrollTop, or null when it was not found. |
Links to this page: