-
Notifications
You must be signed in to change notification settings - Fork 22
[Spec] Tabs
jykim edited this page May 2, 2019
·
11 revisions
Property | Description | Type | Default |
---|---|---|---|
v-model | List of tab. Use v-model to enable a two-way binding. |
Array | - |
active-tab-value | Activates the name of the tab panel | String | first tab |
disable-tab-moving | Whether to use the tab moving. | Boolean | false |
disable-remove-tab | Whether to use the tab removing. | Boolean | false |
min-tab-width | minimum width of tab. Unit is px. | Number | 100 |
Event Name | Description | Return Value |
---|---|---|
change-tab | Emitted when tab is changed. | arg[0] - before change value of tab arg[1] - after change value of tab |
remove-tab | Emitted when tab is removed. | arg[0] - after remove value of tab |
Property | Description | Type | Default |
---|---|---|---|
value | the name of the tab panel being activated | String | - |