Selects sidebar node with
id.
select(id)
id |
string, id of the sidebar node |
Returns
undefined.
Description
The node must exists in the
.nodes array of the sidebar or its nested nodes. The node is
identified by the
.id property. The method will set
.selected property of the node to true
and will set
.selected property of the sidebar to selected node id.
Previously selected node is unselected (if any).
If you have defined object in the following way:
You can: