interface / @typed/ui/Tree

ItemValue

Tree collection value recording an item’s parent relationship.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
Node registration
Since
1.0.0

Import

import { ItemValue } from "@typed/ui/Tree";

Signatures

export interface ItemValue {
    readonly parentId?: string;
    readonly hasChildren: boolean;
}

Property: hasChildren

Whether aria-expanded is emitted and hierarchical keys may open descendants.

Property: parentId

Id whose expansion controls this descendant group.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source