[new feature] Tab: add ellipsis prop (#2299)

This commit is contained in:
neverland
2018-12-15 17:36:13 +08:00
committed by GitHub
parent 5ac7666230
commit fea65f6858
4 changed files with 15 additions and 4 deletions
+1
View File
@@ -160,6 +160,7 @@ In swipeable mode, you can switch tabs with swipe gestrue in the content
| 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 | `Boolean` | `false` |
| ellipsis | Whether to ellipsis too long title | `Boolean` | `true` |
### Tab API
+1
View File
@@ -164,6 +164,7 @@ export default {
| offset-top | 粘性定位布局下与顶部的最小距离,单位 px | `Number` | `0` | 1.1.15 |
| swipe-threshold | 滚动阈值,标签数量超过多少个可滚动 | `Number` | `4` | - |
| animated | 是否开启切换标签内容时的转场动画 | `Boolean` | `false` | 1.4.5 |
| ellipsis | 是否省略过长的标题文字 | `Boolean` | `true` | 1.5.0 |
### Tab API