Skip to main content

change

fires on changing the active tab

change: (id: string, prev: string) => void;

Parameters:

  • id: string - the id of a newly active tab
  • prev: string - the id of a previously active tab

Example

tabbar.events.on("Change", function(id, prev){    console.log(activeId);});

Related sample: Tabbar. Events