[new feature] Tab: add border prop

This commit is contained in:
陈嘉涵
2019-05-22 15:59:19 +08:00
parent 10f82b4a40
commit 6d526b6c45
6 changed files with 47 additions and 16 deletions
+4 -3
View File
@@ -166,12 +166,13 @@ export default {
| color | 标签主题色 | `String` | `#f44` | 1.2.0 |
| title-active-color | 标题选中态颜色 | `String` | - | 1.6.5 |
| title-inactive-color | 标题默认态颜色 | `String` | - | 1.6.5 |
| swipeable | 是否开启手势滑动切换 | `Boolean` | `false` | 1.0.0 |
| sticky | 是否使用粘性定位布局 | `Boolean` | `false` | - |
| offset-top | 粘性定位布局下与顶部的最小距离,单位 px | `Number` | `0` | 1.1.15 |
| swipe-threshold | 滚动阈值,标签数量超过多少个可滚动 | `Number` | `4` | - |
| offset-top | 粘性定位布局下与顶部的最小距离,单位 px | `Number` | `0` | 1.1.15 |
| animated | 是否开启切换标签内容时的转场动画 | `Boolean` | `false` | 1.4.5 |
| border | 是否显示标签栏外边框,仅在`type="line"`时有效 | `Boolean` | `true` | 2.0.0 |
| ellipsis | 是否省略过长的标题文字 | `Boolean` | `true` | 1.5.0 |
| sticky | 是否使用粘性定位布局 | `Boolean` | `false` | - |
| swipeable | 是否开启手势滑动切换 | `Boolean` | `false` | 1.0.0 |
| lazy-render | 是否开启标签页内容延迟渲染 | `Boolean` | `true` | 1.6.6 |
### Tab Props