Advanced User Interface Controls and Components
Occurs after an item is removed from the tree collection.
Param | Type | Details |
---|---|---|
e | Object | An event object which contains the item |
This event can be handled by creating a function in your application controller $scope and applying this function as value to an attribute in TreeView directive:
The events attribute has a higher priority than the item-removed attribute. If both attributes are set, the value from events attribute is used.
Supported in: v1.0.
Learn how to add or remove items in TreeView for AngularJS using several different methods. Each operation is followed by events which can be handled in your code.
A demonstration on how to add new items dynamically in the IntegralUI TreeView for Web, AngularjJS Directive.
A sample which demonstrates how you can create and/or modify a tree hierarchy using several different methods.