ht-collapse
v0.0.1
Published
vue collapse component
Readme
可折叠组件
Installation
Npm安装
$ npm install ht-collapseYarn安装
$ yarn add ht-collapsemain.js
import htCollapse from 'ht-collapse'
Vue.use(htCollapse);使用方法
<ht-collapse>Button</ht-collapse>Props
| 属性值 | 类型 | 默认值 | 备注 | |---------------|------------------------------------ |---------------|-------------------------| | title | String | | 卡片标题 | | expand | Boolean or Number | false | 是否展开 | | color | String (primary,warning,info,danger,..) | | 标题下方的边框 |
Slots
| 名称 | 备注 | |---------------|-------------------------------| | actions | 卡片标题右边的操作按钮 | | default | 可折叠框的内容 |
