Skip to content

TreeRoot<Item>

Unofficial

Root node of a tree view that contains all top-level tree items.

Import:

import type { TreeRoot } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface TreeRoot<Item extends TreeItem> extends TreeNode

Extends: TreeNode

Properties

Property Type Description
childrenEl HTMLElement Container element for the root's child items.
el HTMLElement The element of the tree node.
(Inherited from TreeNode)
info TreeNodeInfo Layout information for the root node used by virtual scrolling.
pusherEl HTMLElement Spacer element used to maintain correct scroll height for virtual scrolling.
vChildren TreeNodeVChildren<Item, TreeRoot<Item>> Virtual children manager for the root's child items.