Treeview API
API reference for the Treeview components.
string | undefinedNamespace for dependency injection
boolean | undefinedDisables the entire tree
boolean | undefinedAuto-select non-disabled items on registration
boolean | "force" | undefinedPrevents deselecting the last selected item
boolean | undefinedAllows selecting multiple items
NestedOpenMode | undefinedControls how nodes expand: 'multiple' (default) or 'single' (accordion)
boolean | undefinedAuto-expand all nodes on registration
boolean | undefinedOpening a node also opens all its ancestors
NestedSelectionMode | undefinedControls how selection cascades: 'cascade' (default), 'independent', or 'leaf'
NestedActiveMode | undefinedControls active/highlight mode: 'single' (default) or 'multiple'
string | undefinedNamespace for dependency injection
string | undefinedNamespace for dependency injection
string | undefinedNamespace for dependency injection
string | undefinedNamespace for dependency injection
string | undefinedNamespace for dependency injection
ID | undefinedUnique identifier (auto-generated if not provided)
V | undefinedValue associated with this item
MaybeRefOrGetter<boolean> | undefinedDisables this item
string | undefinedNamespace for dependency injection
string | undefinedNamespace for dependency injection
boolean | undefinedWhether multiple items can be selected (sets aria-multiselectable)
string | undefinedAccessible label for the tree
string | undefinedOptional display label (passed through to slot and aria-label)
boolean | undefinedDisables this checkbox
string | undefinedNamespace for dependency injection