w2sidebar.selected

The id of the selected node. Read Only.
String, default = ''
Each node has .selected property that determines if the node is selected. It is time consuming to loop through all the nodes to find selected, therefore the .selected property was added. It holds the id of the last selected node. You can use .select() and .unselect() to select/unselect nodes.
You can define it during object creation: You can find selected node by.

User Comments

comments powered by Disqus