Tree.Openable Class
Extension for Tree that adds the concept of open/closed state for nodes.
Constructor
Tree.Openable
()
Methods
closeNode
-
node -
[options]
Closes the specified node if it isn't already closed.
Parameters:
-
nodeTree.NodeNode to close.
-
[options]Object optionalOptions.
-
[silent=false]Boolean optionalIf
true, thecloseevent will be suppressed. -
[src]String optionalSource of the change, to be passed along to the event facade of the resulting event. This can be used to distinguish between changes triggered by a user and changes triggered programmatically, for example.
-
openNode
-
node -
[options]
Opens the specified node if it isn't already open.
Parameters:
-
nodeTree.NodeNode to open.
-
[options]Object optionalOptions.
-
[silent=false]Boolean optionalIf
true, theopenevent will be suppressed. -
[src]String optionalSource of the change, to be passed along to the event facade of the resulting event. This can be used to distinguish between changes triggered by a user and changes triggered programmatically, for example.
-
