mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Doc] Tab: fix readme (#2152)
This commit is contained in:
parent
a1a6bacb3c
commit
c88c8ff344
@ -159,7 +159,7 @@ In swipeable mode, you can switch tabs with swipe gestrue in the content
|
||||
| sticky | Whether to use sticky mode | `Boolean` | `false` |
|
||||
| offset-top | Offset top when use sticky mode | `Number` | `0` |
|
||||
| swipeable | Whether to switch tabs with swipe gestrue in the content | `Boolean` | `false` |
|
||||
| animated | Whether to change tabs with animation | `false` | - |
|
||||
| animated | Whether to change tabs with animation | `Boolean` | `false` |
|
||||
|
||||
### Tab API
|
||||
|
||||
|
@ -163,7 +163,7 @@ export default {
|
||||
| sticky | 是否使用粘性定位布局 | `Boolean` | `false` | - |
|
||||
| offset-top | 粘性定位布局下与顶部的最小距离,单位 px | `Number` | `0` | 1.1.15 |
|
||||
| swipe-threshold | 滚动阈值,标签数量超过多少个可滚动 | `Number` | `4` | - |
|
||||
| animated | 是否开启切换标签内容时的转场动画 | `false` | - | 1.4.5 |
|
||||
| animated | 是否开启切换标签内容时的转场动画 | `Boolean` | `false` | 1.4.5 |
|
||||
|
||||
### Tab API
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user