Collapse 折叠面板 |
您所在的位置:网站首页 › element折叠自行车 › Collapse 折叠面板 |
Collapse 折叠面板 # 通过折叠面板收纳内容区域 基础用法 #可同时展开多个面板,面板之间不影响 手风琴效果 #每次只能展开一个面板 自定义面板标题 #除了可以通过 title 属性以外,还可以通过具名 slot 来实现自定义面板的标题内容,以实现增加图标等效果。 Collapse API #Collapse Attributes #属性名详情类型默认值model-value / v-model当前活动面板,在手风琴模式下其类型是string,在其他模式下是arraystring / array[]accordion是否手风琴模式booleanbooleanCollapse Events #事件名说明类型change切换当前活动面板,在手风琴模式下其类型是string,在其他模式下是arrayFunctionCollapse Slots #插槽名Description子标签default自定义默认内容Collapse ItemCollapse Item API #Collapse Item Attributes #属性名说明类型默认值name唯一标志符string / number—title面板标题string''disabled是否禁用booleanfalseCollapse Item Slot #插槽名说明defaultCollapse Item 的内容titleCollapse Item 的标题源代码 #组件 • 文档 贡献者 # |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |