Gets or sets the currently selected item in TreeView directive.
|name||String||The value of name attribute of the TreeView directive|
|item (optional)||Object||The item to be selected|
If there is no specified item, this property returns the currently selected item. Otherwise does not return a value.
This method is part of IntegralUITreeViewService.
An item can also become selected using the selected-item attribute of TreeView directive. In this case only afterSelect event will be fired.
Supported in: v1.0.