focusChange
fires on moving focus to a new item
focusChange: (index: number, id: string | number) => void;
Parameters:
index: number
- the position of an itemid: string | number
- the id of an item
Example
tree.events.on("focusChange", function(index, id){
// your code here
});
Change log:
added in v7.0