Skip to content

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 TreeNodeInfo

Properties

PropertyTypeDescription
childLeftnumberLeft offset of child elements in pixels.
childLeftPaddingnumberLeft padding applied to child elements in pixels.
childTopnumberTop offset of child elements in pixels.
computedbooleanWhether layout dimensions have been computed.
heightnumberComputed height of the node in pixels.
hiddenbooleanWhether the node is currently hidden from view.
nextbooleanWhether there is a next sibling node.
queuedbooleanWhether a layout recomputation is queued.
widthnumberComputed width of the node in pixels.

Links to this page: