Skip to main content

isDisabled()

checks whether a tab is disabled

isDisabled(id?: string): boolean;

Parameters:

id: string - the id of a tab

Returns:

true, if a tab is disabled; otherwise, false.

Example

// checks whether a currently active tab is disabledtabbar.isDisabled();  // -> returns true/false 
// checks whether a tab is disabled by its idtabbar.isDisabled("London"); // -> returns true/false

Related sample: Tabbar. Is Disabled Tab

Change log:

added in v6.4