fix-layer-scroll

0.0.3 • Public • Published

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>

Package Sidebar

Install

npm i fix-layer-scroll

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

1.59 kB

Total Files

4

Last publish

Collaborators

  • rain-js