[Improvement] Tab: add line-width prop (#988)
This commit is contained in:
@@ -141,6 +141,7 @@ In swipeable mode, you can switch tabs with swipe gestrue in the content
|
||||
| v-model | Index of active tab | `String` `Number` | `0` | - |
|
||||
| type | There are two style tabs, set this attribute to change tab style | `String` | `line` | `card` |
|
||||
| duration | Toggle tab's animation time | `Number` | `0.2` | - | - |
|
||||
| line-width | Width of tab line (px) | `Number` | Equal to current tab width | - |
|
||||
| swipe-threshold | Set swipe tabs threshold | `Number` | `4` | - | - |
|
||||
| sticky | Whether to use sticky mode | `Boolean` | `false` | - |
|
||||
| swipeable | Whether to switch tabs with swipe gestrue in the content | `Boolean` | `false` | - |
|
||||
|
||||
Reference in New Issue
Block a user