Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

scroll-handler

Smooth scroll handler

Install

Use npm to install just run

npm install scroll-handler

Usage

var sh = require('scroll-handler');
sh({
  // Execute on start scrolling
  start: function(e, top) {
    console.log('Event', e, 'Scroll top', top);
  },
  // Execute on stop scrolling
  stop: ...
  // Execute periodicaly
  interval: ...
});

About

Smooth scroll handler

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages