Run functions After Scrolling Has Stopped – scrollStop

Category: Javascript | April 7, 2017
Authorcferdinandi
Last UpdateApril 7, 2017
LicenseMIT
Tags
Views644 views
Run functions After Scrolling Has Stopped – scrollStop

scrollStop is a pure JavaScript library that fires a function after the scroll event has stopped.

How to use it:

Import the JavaScript file scrollStop.js into the html file.

<script src="scrollStop.js"></script>

Execute a custom callback function after scrolling.

scrollStop(function () {
  alert( 'Scrolling has stopped.' );
});

You Might Be Interested In:


Leave a Reply