Tree Views
Display information in a hierarchical structure using collapsible nodes.
import { TreeView, TreeViewItem } from '@skeletonlabs/skeleton';
Demo
Icons
Selection
Enable selection using the prop selection
Single
Multiple
Relational
By passing children references to a parent TreeViewItem
, the check value of the parent will be relational,
meaning it will react to the check value of the children.
Disabled
Expand/Collapse all
By binding to the tree
we can call the functions expandAll()
,
collapseAll()
.
Select/Deselect all
By binding to the tree
we can call the functions selectAll()
,
deselectAll()
.
Note: These functions are excecuted only in multiple
selection mode.