disableTab()
disables a tab on a page
disableTab(id: string): boolean;
Parameters:
id: string
- the id of a tab
Returns:
true
, if the tab is disabled; otherwise, false
.
Example
tabbar.disableTab("London");
// -> true|false
Related sample: Tabbar. Disable tab
Change log:
added in v6.4