<nve-tree>
Properties
Determines if the node depth border renders.
true
false
Determines whether the tree nodes should handle auto-select behavior.
true
false
Determines whether the tree nodes should handle auto-expanding behavior.
true
false
Determines whether all nodes can be in a selected state. Nodes can be in a single or multi select state.
single
multi
Events
Dispatched from a child nve-tree-node when its selection state changes.
Dispatched from a child nve-tree-node when closed.
Dispatched from a child nve-tree-node when opened.
Slots
tree nodes
CSS Properties
Border style for tree node depth indicator
<nve-tree-node>
Properties
closes and sets the expanded state automatically if behaviorExpand is true
opens and sets the expanded state automatically if behaviorExpand is true
boolean
boolean
boolean
Enables updating internal string values for internationalization.
Determines the highlighted state of the element. Highlighted states serve non-interactive selections where nodes may relate to other selected portions of the UI.
true
false
Determines whether a node can be in a selected state. Nodes can be in a single or multi select state.
single
multi
Determines whether a node can be expandable. Expandable by default if slotted nodes exist.
true
false
Indicates whether an element currently holds selection within a multi-option selection group. MDN
true The element holds selection and represents the user's current choice within the group.
false The element does not hold selection and the user can choose it.
Indicates whether collapsible content is currently visible or hidden from the user. MDN
true The associated content expands and becomes visible to the user.
false The associated content collapses and hides from the user.
Events
Dispatched when the node selection state changes.
Dispatched when the node closes.
Dispatched when the node opens.
Slots
Use only for extended long form content containing interactive elements or form inputs.
Use default slot for basic text content or nested
Invoker Commands
use to toggle open / closed state of the node
use to close the node
use to open the node
use to toggle the node selection state
use to deselect the node
use to select the node
CSS Properties
CSS Parts
The checkbox element
The icon element
The icon button element