removeTab()
removes a tab from a tabbar
removeTab(id: string): void;
Parameters:
id: string
- the id of a tab to remove
Example
const id = tabbar.getId(0);
tabbar.removeTab(id);
Related sample: Tabbar. Add / remove tab
Change log:
added in v6.4
removes a tab from a tabbar
id: string
- the id of a tab to removeExample
const id = tabbar.getId(0);
tabbar.removeTab(id);
Related sample: Tabbar. Add / remove tab
added in v6.4