enabledAt(i, [enabled])
Class: Tabs.
Description:
Sets or gets whether the tab at specified index is enabled. Setting it to false makes it disabled.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
number |
Index of the tab |
|
|
boolean |
Set to |
Returns:
When setting enabled argument, this Tabs component object is returned; otherwise current enabled state is returned.
Type: boolean | Tabs
