TreeItem
One item of Ui.tree.
Properties
Section titled “Properties”children?
Section titled “children?”
optionalchildren?: readonlyTreeItem[]
The items it folds.
id:
string
Identifies the item among all items of the tree.
label?
Section titled “label?”
optionallabel?:string
The item’s text; its id by default.
optionalopen?:boolean
Whether the item starts unfolded; the tree remembers what the user folds afterward.