npm i vue-ui-box
<ui-box title="Box DEMO" :toggle="true" id="test">
box content
</ui-box>
example app
import UIBox from 'vue-ui-box'
Vue.use(UIBox)
Name | Type | Required | Default | Description |
---|---|---|---|---|
title | String | false | box title | |
id | String | false | id, need if toggle box enabled | |
toggle | Boolean | false | false | toggle box enabled |
Name | params | Description |
---|---|---|
open | when opening the box | |
close | when closing the box |
Name | |
---|---|
header | |
footer |