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

    Interface TreeNodeSnapshot

    Immutable visible treeitem semantics.

    interface TreeNodeSnapshot {
        disabled: boolean;
        expanded: boolean;
        id: string;
        level: number;
        loading: boolean;
        parentId: string | null;
        positionInSet: number;
        role: "treeitem";
        selected: boolean;
        setSize: number;
        tabIndex: -1 | 0;
    }
    Index

    Properties

    disabled: boolean

    Disabled state.

    expanded: boolean

    Expansion state for branch nodes.

    id: string

    Stable node ID.

    level: number

    Visible hierarchy level, starting at one.

    loading: boolean

    Whether the branch is waiting for asynchronous children.

    parentId: string | null

    Parent node ID.

    positionInSet: number

    One-based sibling position for aria-posinset.

    role: "treeitem"

    Treeitem role for consumer markup.

    selected: boolean

    Selection state.

    setSize: number

    Sibling count for aria-setsize.

    tabIndex: -1 | 0

    Roving tabindex value.