UI Headless Runtime API - v1.0.0
    Preparing search index...

    Interface TreeNode

    Hierarchical Tree View node registration.

    interface TreeNode {
        disabled?: boolean;
        hasChildren?: boolean;
        id: string;
        loading?: boolean;
        parentId?: string | null;
        text: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    disabled?: boolean

    Whether keyboard navigation and selection skip the item.

    hasChildren?: boolean

    Whether the node can expose children, including asynchronously loaded children.

    id: string

    Stable consumer-provided identifier.

    loading?: boolean

    Whether child registration is currently pending.

    parentId?: string | null

    Parent node ID, or null for a root node.

    text: string

    Text used for typeahead and search.