will fold all of the given nodes' children
will fold all of the given nodes' children
will unfold all of the given nodes' children
will unfold all of the given nodes' children
warning: since this is an imperative handle and cannot be used as reative state.
warning: since this is an imperative handle and cannot be used as reative state.
the key of the node that you wish to get the fold state for
the node's current fold state
the key of the node that you wish to get the fold state for
the node's current fold state
resets the fold state of the entire tree to the default.
resets the fold state of the entire tree to the default.
key (or keys) of the node to set.
key (or keys) of the node to set.
the open/close state to use
the key (or keys) of the node to toggle the fold state for
the key (or keys) of the node to toggle the fold state for
will unfold all nodes from root to the target key.
will unfold all nodes from root to the target key.
the interface from useFoldControls, which allows you to modify the fold-state of a tree externally.