Tabs Widget parameters
Events
Options
active Type: Integer
Default:
0
Which panel is currently open.
- Integer: The zero-based index of the panel that is active (open). A negative value selects panels going backward from the last panel.
Initialize the tabs with the active
option specified:
1
|
|
disabledType: Integer or Array
Default:
false
Which tabs are disabled.
-
Array: An array containing the zero-based indexes of the tabs that should be disabled, e.g.,
[ 0, 2 ]
would disable the first and third tab.
Initialize the tabs with the disabled
option specified:
1
|
|
openEventType: String
Default:
"click"
The type of event that the tabs should react to in order to activate the tab. To activate on hover, use
Code examples:"mouseover"
.Initialize the tabs with the openEvent
option specified:
1
|
|
heightStyle (pending)Type: String
Default:
"content"
Controls the height of the tabs widget and each panel. Possible values:
Code examples:-
"auto"
: All panels will be set to the height of the tallest panel. -
"fill"
: Expand to the available height based on the tabs' parent height. -
"content"
: Each panel will be only as tall as its content.
Initialize the tabs with the heightStyle
option specified:
1
|
|