TreeNodeInfo
Unofficial
Layout information for a tree node used by the virtual scrolling system.
Import:
import type { TreeNodeInfo } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface TreeNodeInfoProperties
| Property | Type | Description | |
|---|---|---|---|
| childLeft | number | Left offset of child elements in pixels. | |
| childLeftPadding | number | Left padding applied to child elements in pixels. | |
| childTop | number | Top offset of child elements in pixels. | |
| computed | boolean | Whether layout dimensions have been computed. | |
| height | number | Computed height of the node in pixels. | |
| hidden | boolean | Whether the node is currently hidden from view. | |
| next | boolean | Whether there is a next sibling node. | |
| queued | boolean | Whether a layout recomputation is queued. | |
| width | number | Computed width of the node in pixels. |
Links to this page: