-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
例如在两个栅格之间,添加一个分割线,然后这个分割线可以调整两个分栏之间的宽度,也可以把某一边的分栏隐藏掉,比现有的Grid更灵活.类似于miniui里面的Splitter 分割器
What does the proposed API look like?
类似于miniui的Splitter 分割器
<a-splitter style="width:350px;height:200px;">
<div size="30%" :showCollapseButton="true">
1
</div>
<div :showCollapseButton="true">
2
</div>
</a-splitter>API
| Name | Type | Description | Default |
|---|---|---|---|
| minSize | Number | 最小尺寸 | 80 |
| maxSize | Number | 最大尺寸 | 3000 |
| size | Number/String | 尺寸 | - |
| showCollapseButton | Boolean | 是否显示折叠图标 | - |
| cls | String | 面板样式类 | - |
| style | String | 面板样式 | - |
| visible | Boolean | 是否显示 | - |
| expanded | Boolean | 是否折叠 | - |
huoshidehua, chenchifeng, elonzh and byk04712