Run functions After Scrolling Has Stopped – scrollStop

Category: Javascript | April 7, 2017
Author:cferdinandi
Views Total:603 views
Official Page:Go to website
Last Update:April 7, 2017
License:MIT

Preview:

Run functions After Scrolling Has Stopped – scrollStop

Description:

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