0.0.1 • Published 3 years ago
ht-collapse v0.0.1
可折叠组件
Installation
Npm安装
$ npm install ht-collapse
Yarn安装
$ yarn add ht-collapse
main.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 | 可折叠框的内容 |
0.0.1
3 years ago