0.0.6 • Published 7 years ago

smart-scroll v0.0.6

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

smart-scroll

Detects user vs programmatic scrolling

How to install

  1. run npm i smart-scroll
  2. add require('smart-scroll') to your src

or

  1. import dist file via html <script src="${'path to project'}/dist/smart-scroll.js"></script>
    • requires jQuery be loaded prior

How to use

$(window).botScroll(function(){
    // bot scroll events only
});

$(window).userScroll(function(){
    // user scroll events only
});
0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago