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 disabled
tabbar.isDisabled(); // -> returns true/false
// checks whether a tab is disabled by its id
tabbar.isDisabled("London"); // -> returns true/false
Related sample: Tabbar. Is disabled tab
Change log:
added in v6.4