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

PropertyTypeDescription
childrenElHTMLElementContainer element for the root's child items.
elHTMLElementThe element of the tree node.
(Inherited from TreeNode)
infoTreeNodeInfoLayout information for the root node used by virtual scrolling.
pusherElHTMLElementSpacer element used to maintain correct scroll height for virtual scrolling.
vChildrenTreeNodeVChildren<Item, TreeRoot<Item>>Virtual children manager for the root's child items.