Interface: BarTreeNode
Defined in: modal/bar.ts:145
One node of the bar as a PRE-ORDER (depth-first) tree: the item itself plus the descendants revealed beneath it right now. children is non-empty only for a cap that is shown, lit, and actually declares children — so a node with children is exactly a live grouping the renderer can bracket (thin left/right borders, a depth-shaded tint), and the parent sits immediately before its own children in the flow, not on a separate tier.
Properties
children
children:
BarTreeNode[]
Defined in: modal/bar.ts:150
The revealed subtree, in declaration order (empty for a leaf).
depth
depth:
number
Defined in: modal/bar.ts:148
Nesting level from the root (0 = root); drives the grouping shade.
item
item:
BarItem
Defined in: modal/bar.ts:146