Tab
Examples
See Tabs
component example.
API
Props
Name | Type | Default | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
label | string | - | The text of the tab. | ||||||||||
name | string | - | The name of the tab. | ||||||||||
disabled | boolean | false | Whether the tab is disabled. | ||||||||||
to | string | Object | - | Routing information of the tab. The type is the same as the | ||||||||||
matches | function(Route, Route): boolean | - | After using Vue Router and providing the | ||||||||||
native | boolean | false | Whether to force the use of the native <a> element for routing mode. | ||||||||||
removable | boolean | - | Whether the tab can be removed. | ||||||||||
status | string | - | Tab status.
|
Slots
Name | Description |
---|---|
default | The default slot. |
item | The content of the tab item, including the corresponding button/link. |
label | The text of the tab. |