0.1.3 • Published 4 years ago
vue-dt-scroll-lock v0.1.3
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