2 个仓库
Triggers image loading on scroll, resize, or orientation change events to ensure images load as they become visible.
Distinct from Image Lazy Loading: Distinct from Image Lazy Loading: focuses on the event-based trigger mechanism (scroll, resize, orientation) rather than the general viewport detection strategy.
Explore 2 awesome GitHub repositories matching web development · Event-Driven Loading Triggers. Refine with filters or upvote what's useful.
Lazyload is a JavaScript plugin that defers the loading of images until they scroll into the viewport, using the browser's Intersection Observer API to detect visibility. It is designed to speed up initial page load and save bandwidth by delaying off-screen images, and includes a jQuery-compatible wrapper for drop-in integration with existing jQuery code. The plugin distinguishes itself through support for responsive images, loading different sources based on screen size, and a blur-up placeholder effect that shows a low-resolution image that transitions into the sharp version once fully load
Provides event-driven loading triggers on scroll, resize, or orientation changes.
Responsively-lazy is a library designed to optimize web performance by deferring the loading of off-screen assets until they are required by the user. It functions as a utility for reducing initial page payloads by delaying the rendering of images, background images, and HTML content until elements enter the browser viewport. The library distinguishes itself through its automated handling of dynamic content. By utilizing a mutation observer, it monitors the document tree for new elements added after the initial page load and applies lazy loading behaviors to them without requiring manual re-i
Provides a mechanism to force the loading of deferred elements when document structure changes or specific application events occur.