Skip to content

UITreeContext

Defined in: ui/src/internal/tree-context.ts:12

What a container hands each of its children.

readonly focusStack: UIFocusStack | null

Defined in: ui/src/internal/tree-context.ts:23

The scene’s focus stack, which every scope in this tree registers with. null for a tree built outside a scene, where scopes work but read no device input.


readonly label: string | undefined

Defined in: ui/src/internal/tree-context.ts:17

Name of the owning UI tree, printed as a prefix by development warnings. undefined for an element built outside a surface.

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/ui.md.