isDisabled

checks whether a tab is disabled

boolean isDisabled(string id);

Parameters

idstringthe id of a tab

Returns

booleantrue, 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 samples

See also
Change log

added in v6.4

Back to top