Tree.Openable Class
Extension for Tree
that adds the concept of open/closed state for nodes.
Constructor
Tree.Openable
()
Methods
closeNode
-
[options]
Closes the specified node if it isn't already closed.
Parameters:
-
[options]
Object optionalOptions.
-
[silent=false]
Boolean optionalIf
true
, theclose
event 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
-
[options]
Opens the specified node if it isn't already open.
Parameters:
-
[options]
Object optionalOptions.
-
[silent=false]
Boolean optionalIf
true
, theopen
event 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.
-