1.0.0 • Published 4 years ago
@devinch/vue-absolute-panel v1.0.0
vue-absolute-panel
a absolute position panel and auto size
usage
- install package
$ npm install @devinch/vue-absolute-panel -S- import to main.js file
import AbsolutePanel from '@devinch/vue-absolute-panel'
Vue.component('absolute-panel', AbsolutePanel)- type to templates
<absolute-panel>
<div>custom content</div>
</abslute-panel>component props
| name | type | default | description |
|---|---|---|---|
| top | string | auto | |
| right | string | auto | |
| bottom | string | auto | |
| left | string | auto | |
| zIndex | number | 9 |
1.0.0
4 years ago