@devinch/vue-absolute-panel
v1.0.0
Published
a absolute position panel, auto size with content
Downloads
3
Readme
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 | |