https://github.com/frdh/sticky-event-listener
A small javascript plugin for adding an event listener for sticky elements, without the need for an onscroll listener.
https://github.com/frdh/sticky-event-listener
Last synced: 3 months ago
JSON representation
A small javascript plugin for adding an event listener for sticky elements, without the need for an onscroll listener.
- Host: GitHub
- URL: https://github.com/frdh/sticky-event-listener
- Owner: FrDH
- Created: 2019-10-03T12:56:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T10:20:28.000Z (over 2 years ago)
- Last Synced: 2025-02-19T11:51:07.648Z (4 months ago)
- Language: HTML
- Size: 361 KB
- Stars: 19
- Watchers: 2
- Forks: 3
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](https://frebsite.nl/sticky).### Licence
The Sticky Event Listener plugin is licensed under the [CC-BY-4.0 license](http://creativecommons.org/licenses/by/4.0/).### Development
This project uses [Gulp(4)](http://gulpjs.com/) to compile and minify Typescript to Javascript.
If you are unfamiliar with Gulp, check [this tutorial](https://travismaynard.com/writing/getting-started-with-gulp) 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.