vue-scroll
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "vue-scroll", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "scroll directive for vuejs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -8,14 +8,17 @@ # vue-scroll | ||
## NPM(recommended) | ||
``` | ||
npm install vue-scroll --save-dev | ||
``` | ||
You need to load it manually. | ||
``` | ||
const Vue = require('vue') | ||
const vScroll = require('vue-scroll') | ||
Vue.use(vScroll) | ||
``` | ||
``` | ||
npm install vue-scroll --save-dev | ||
``` | ||
You need to load it manually. | ||
``` | ||
const Vue = require('vue') | ||
const vScroll = require('vue-scroll') | ||
Vue.use(vScroll) | ||
``` | ||
## Standlone | ||
Simple download and include it in script tag. And it will be auto loaded into vue. | ||
Simple download and include it in script tag. And it will be auto loaded into vue. | ||
* [dev-version](http://cdn.rawgit.com/wangpin34/vue-scroll/master/lib/vue-scroll.js) | ||
@@ -33,5 +36,5 @@ * [product-version(compressed)](http://cdn.rawgit.com/wangpin34/vue-scroll/master/dist/vue-scroll.min.js) | ||
methods:{ | ||
onScroll:function(e, position){ | ||
this.position = position; | ||
} | ||
onScroll:function(e, position){ | ||
this.position = position; | ||
} | ||
} | ||
@@ -38,0 +41,0 @@ }) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61
8860