afterCollapse
fires after collapsing a tree item
afterCollapse: (id: string | number) => void;
Parameters:
id: string | number
- the id of a collapsed item
Example
tree.events.on("afterCollapse", function(id) {
// your logic here
});
Related sample: Tree. Events
Change log:
added in v6.4