afterCheck
fires after the state of an item is changed
afterCheck: (index: number, id: string | number, value: boolean) => void;
Parameters:
index: number
- the position of an itemid: string | number
- the id of the itemvalue: boolean
- the state of the item, true if the item is checked; otherwise, false
Example
tree.events.on("afterCheck", function (index, id, value) {
console.log("afterCheck", index, id, value);
});
Change log:
added in v7.1