change
fires on changing the active tab
change: (id: string, prev: string) => void;
Parameters:
id: string
- the id of a newly active tabprev: string
- the id of a previously active tab
Example
tabbar.events.on("change", function(id, prev){
console.log(id);
});
Related sample: Tabbar. Events