vue-dt-scroll-lock

0.1.3 • Public • Published

vue-dt-scroll-lock

scroll-lock directive for vue.js(2.0)

Installation

NPM(recommend)

npm install vue-dt-scroll-lock --save

Get started

import Vue from 'vue';
import vueScrollLock from 'vue-dt-scroll-lock';

Vue use(vueScrollLock);

Directive v-scroll-lock then can be used in any of your Component.

<template>
  <div v-scroll-lock>
    <p>test</p>
  </div>
</template>

issue

Support for apple's Safari browser is not yet clear

LICENSE

MIT

Package Sidebar

Install

npm i vue-dt-scroll-lock

Weekly Downloads

4

Version

0.1.3

License

MIT

Unpacked Size

265 kB

Total Files

11

Last publish

Collaborators

  • amipei