Retreives a list of currently checked items.
|name||String||The value of name attribute of the TreeView directive|
|value (optional)||Boolean or String||The value that determines the resulting list|
If successful, a list which contains items that matches the specified value, otherwise an empty array.
This method is part of IntegralUITreeViewService. The value can be used to retrieve all unchecked items, by simply calling this method with a false value. Or in case of checkboxes with three state values, you can set this parameter to 'checked', 'indeterminate' or 'unchecked' and retrieve a list of items that have their checkState value equal to the specified value.
Supported in: v2.0.