0.0.3 • Published 5 years ago
fix-layer-scroll v0.0.3
fix-scroll
Vue directive to fix layer scroll
Installation
$ npm i fix-layer-scroll
Usage
main.js
import fixScroll from 'fix-layer-scroll'
Vue.use(fixScroll)
template
<div class="dialog-mask" v-if="visible" v-fixscroll>
<div class="dialog-wrapper">
</div>
</div>