Skip to main content

removeTab()

removes a tab from a tabbar

removeTab(id: string): void;

Parameters:

id: string - the id of a tab to remove

Example

var id = tabbar.getId(0);tabbar.removeTab(id);

Related sample: Tabbar. Remove Tab

Change log:

added in v6.4