An open API service indexing awesome lists of open source software.

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.

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.