Occurs before editing process starts.
|An event object which contains the collapsing item
This event can be handled by creating a function in your application controller and applying this function as value to an attribute in TreeView directive:
The events attribute has a higher priority than the before-edit attribute. If both attributes are set, the value from events attribute is used.
Supported in: v2.0.