The TabContainer widget contains one or more tab panes where widgets are placed. It has multiple panes, but shows only one pane at a time.
- UI Type:
- Properties 7
- Style 18
- Active tab background
- Active tab border color
- Active tab hover background
- Active tab hover border color
- Active tab hover text color
- Active tab text color
- Background-color
- Color
- Condense tab pill spacing
- Font Size
- Tab hover background
- Tab hover border color
- Tab hover text color
- Tab spacing
- Tab style
- Text Transform
- Text-alignment
- Transparent tab background
- Events 5
- Functions 23
Properties
Style
Events
Function
disableTab ( id: String )
Disables a tab.
Parameters
Name | Type | Description |
---|---|---|
id | String | The id of the tab. |
enableTab ( id: String )
Enables a tab.
Parameters
Name | Type | Description |
---|---|---|
id | String | The id of the tab. |
getActiveTabId ( ) →{ Tab }
Returns the widget-ID of the currently selected tab
Returns
The currently selected tab.
setTab ( tab: Tab )
Sets the currently selected tab.
Parameters
Name | Type | Description |
---|---|---|
tab | Tab | The tab to select. |
setTabDecoration ( id: String , decoration: String )
Set the decoration of a tab
Parameters
Name | Type | Description |
---|---|---|
id | String | id Id of the tab to set decoration of |
decoration | String | decoration |
showTab ( id: String )
Shows hidden tab.
Parameters
Name | Type | Description |
---|---|---|
id | String | The id of the tab. |
get ( name: String ) →{ Object }
Gets the value of the specified property.
Parameters
Name | Type | Description |
---|---|---|
name | String | The name of the property. |
Returns
The property's value.
isEnabled ( ) →{ Boolean }
Returns true if the widget is enabled.
Returns
True if enabled, otherwise false.
isHidden ( ) →{ Boolean }
Returns true if the widget is hidden.
Returns
True if hidden, otherwise false.
set ( name: String , value: Object )
Sets the value of the specified property.
Parameters
Name | Type | Description |
---|---|---|
name | String | The name of the property. |
value | Object | The new value. |
setEnabled ( Enabled: Boolean )
Enables/disables the widget.
Parameters
Name | Type | Description |
---|---|---|
Enabled | Boolean | True to enable the widget, false to disable. |
setStyle ( Object: Object )
Set the widget-style
Parameters
Name | Type | Description |
---|---|---|
Object | Object | properties |