3 name: functions-closenode
6 **function closeNode(node);**
8 **function closeNode(node, slide);**
10 Close this node. The node must have child nodes.
12 Parameter **slide**: close the node using a slide animation (default is true).
15 var node = $tree.tree('getNodeById', 123);
16 $tree.tree('closeNode', node);
19 To close the node without the slide animation, call with **slide** parameter is false.
22 $tree.tree('closeNode', node, false);