Sticky Event Listener
A small javascript plugin for adding an event listener for sticky elements, without the need for an onscroll listener.
Demo
Have a look at this demo.
Licence
The Sticky Event Listener plugin is licensed under the CC-BY-4.0 license.
Development
This project uses Gulp(4) to compile and minify Typescript to Javascript.
If you are unfamiliar with Gulp, check this tutorial on how to get started.
Run gulp watch
in the command-line to put a watch on the files and run all scripts immediately after saving your changes.