https://github.com/mitya33/gocek
Gocek is a simple, JavaScript-powered lazy-loading library, for loading assets or enabling effects based as the page scrolls.
https://github.com/mitya33/gocek
javascript lazy-load lazy-loading scroll scroll-into-view
Last synced: 3 months ago
JSON representation
Gocek is a simple, JavaScript-powered lazy-loading library, for loading assets or enabling effects based as the page scrolls.
- Host: GitHub
- URL: https://github.com/mitya33/gocek
- Owner: mitya33
- License: mit
- Created: 2019-12-30T14:01:00.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-11T11:05:05.000Z (over 4 years ago)
- Last Synced: 2025-02-15T19:12:37.216Z (3 months ago)
- Topics: javascript, lazy-load, lazy-loading, scroll, scroll-into-view
- Language: JavaScript
- Homepage: https://mitya.uk/projects/gocek
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gocek
[Full documentation here](https://mitya.uk/projects/gocek)
Gocek is a lightweight scrolling state library that allows elements to be acted on when they become (or stop being) visible, such as applying CSS animations or loading as-yet-unloaded images.
Gocek looks for hooks in the DOM, in the form of data attributes, to know which elements to listen to as they become/stop being visible.