Skip to content

请求添加折叠布局器(splitter)功能 #1153

@chenchifeng

Description

@chenchifeng
  • 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 是否折叠 -

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions