Socket
Socket
Sign inDemoInstall

vue-scroll

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-scroll - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"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 @@ })

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc