tree/js/extensions/tree-node-selectable.js:6
Tree.Node
extension that adds methods useful for nodes in trees that use the
Tree.Selectable
extension.
isSelected
Returns true
if this node is currently selected.
true
if this node is currently selected, false
otherwise.
select
[options]
Selects this node.
[options]
Object
optional
Options.
[silent=false]
Boolean
optional
If true
, the select
event
will be suppressed.
[src]
String
optional
Source 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.
unselect
[options]
Unselects this node.
[options]
Object
optional
Options.
[silent=false]
Boolean
optional
If true
, the unselect
event
will be suppressed.
[src]
String
optional
Source 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.