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

i

number

Index of the tab

[enabled]

boolean

Set to true to enabled the tab, false to disable.

Returns:

When setting enabled argument, this Tabs component object is returned; otherwise current enabled state is returned.

Type: boolean | Tabs