0.0.1 • Published 3 years ago

ht-collapse v0.0.1

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

可折叠组件

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
属性值类型默认值备注
titleString卡片标题
expandBoolean or Numberfalse是否展开
colorString (primary,warning,info,danger,..)标题下方的边框
Slots
名称备注
actions卡片标题右边的操作按钮
default可折叠框的内容