Overscroll detects when a user who uses one of Apple's Touchpads (MacBook's Touchpad or a Magic Touchpad) scrolls outside the bounds of a webpage, and fires a callback.
It is easy to set, has no dependencies and weights less than 400 bytes minified.
After installing Overscroll, test it using the following code:
You can add as many listeners as you want simply by calling the overscroll function again.
Via jsDeliver (Recommended)
Add the following script tag to your HTML file:
Navigate to your project's directory, and execute the following command:
$ npm i -S overscrolljs
Then, embed the script in your HTML using a script tag:
Feel free to create PRs, I will try to merge them ASAP.