[improvement] Tab: optimize transition (#2151)

This commit is contained in:
neverland
2018-11-26 20:58:30 +08:00
committed by GitHub
parent dc11970fa0
commit a1a6bacb3c
6 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ In swipeable mode, you can switch tabs with swipe gestrue in the content
| v-model | Index of active tab | `String` `Number` | `0` |
| color | Tab color | `String` | `#f44` |
| type | Can be set to `line` `card` | `String` | `line` |
| duration | Toggle tab's animation time | `Number` | `0.4` | - |
| duration | Toggle tab's animation time | `Number` | `0.3` | - |
| line-width | Width of tab line (px) | `Number` | Width of active tab |
| swipe-threshold | Set swipe tabs threshold | `Number` | `4` | - |
| sticky | Whether to use sticky mode | `Boolean` | `false` |