toggleNode abstract method

void toggleNode(
  1. TreeViewNode<T> node
)

Switches the given TreeViewNodes expanded state.

May trigger an animation to reveal or hide the node's children based on the TreeView.toggleAnimationStyle.

If the node does not have any children, nothing will happen.

Implementation

void toggleNode(TreeViewNode<T> node);