Tabs
Examples
Basic
Tabs Rounded
API (ix-tabs)
Properties
Name
Description and specifications
layout
Set layout width style
Attribute:
layoutType:
"auto" | "stretched"Default:
'auto'placement
Set placement style
Attribute:
placementType:
"bottom" | "top"Default:
'bottom'rounded
Set rounded tabs
Attribute:
roundedType:
booleanDefault:
falseselected
Set default selected tab by index
Attribute:
selectedType:
numberDefault:
0small
Set tab items to small size
Attribute:
smallType:
booleanDefault:
falseEvents
Name
Description and specifications
selectedChange
Since 2.0.0
`selected` property changed
Detail:
numberAPI (ix-tab-item)
Properties
Name
Description and specifications
counter
Set counter value
Attribute:
counterType:
number | undefineddisabled
Set disabled tab
Attribute:
disabledType:
booleanDefault:
falseicon
Set icon only tab
Attribute:
iconType:
booleanDefault:
falselayout
Set layout width style
Attribute:
layoutType:
"auto" | "stretched"Default:
'auto'placement
Set selected placement
Attribute:
placementType:
"bottom" | "top"Default:
'bottom'rounded
Set rounded tab
Attribute:
roundedType:
booleanDefault:
falseselected
Set selected tab
Attribute:
selectedType:
booleanDefault:
falsesmall
Set small size tab
Attribute:
smallType:
booleanDefault:
falseEvents
Name
Description and specifications
tabClick
Since 2.0.0
Emitted when the tab is clicked.
Detail:
{ nativeEvent: MouseEvent; }