[Improvement] Tab: support custom sticky offset top (#1519)

This commit is contained in:
neverland
2018-07-22 14:35:00 +08:00
committed by GitHub
parent e5f252944a
commit 004de364d0
4 changed files with 38 additions and 14 deletions
+1
View File
@@ -144,6 +144,7 @@ In swipeable mode, you can switch tabs with swipe gestrue in the content
| 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` |
| offset-top | Offset top when use sticky mode | `Number` | `0` |
| swipeable | Whether to switch tabs with swipe gestrue in the content | `Boolean` | `false` |
### Tab API