Current focused node
Is the tree currently focused
Options that were passed to the tree component
All root nodes
Marks all nodes isHidden = false
collapse all nodes
Invokes a method for every node of the tree - depth first
a function that receives the node
expand all nodes
Marks isHidden field in all nodes recursively according to the filter param. If a node is marked visible, all of its ancestors will be marked visible as well.
either a string or a function. In case it's a string, it will be searched case insensitively in the node's display attribute In case it's a function, it will be passed the node, and should return true if the node should be visible, false otherwise
if true, make sure all nodes that passed the filter are visible
Focuses on the inner child of the current focused node (same as right arrow on an expanded node)
Focuses on the parent of the current focused node (same as left arrow on a collapsed node)
Focuses on the next node in the tree (same as down arrow)
Focuses on the previous node in the tree (same as up arrow)
Current active node. If multiple nodes are active - returns the first one.
true or false - whether to skip hidden nodes
first root of the tree
Current focused node (either hovered or traversed with keys)
true or false - whether to skip hidden nodes
last root of the tree
get tree state
All root nodes that pass the current filter
true if the tree is empty
moves a node from one location in the tree to another
describes which node needs to be moved
describes where to move the node to.
describes where to move the node from. Contains a 'parent' node, an 'index', and a 'dropOnNode' - to distinguish between dropping between nodes or on the node
Focuses or blurs the tree
true or false - whether to set focus or blur.
Set focus on a node
set tree state
Generated using TypeDoc
Current active nodes