Skip to main content

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