Skip to main content

afterCollapse

fires after collapsing a tree item

afterCollapse: (id: Id) => 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