[Improvement] Tab: support custom sticky offset top (#1519)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user