2 个仓库
Toggling visual attributes or classes to indicate loading progress or trigger animations.
Distinct from Image Lazy Loading: Focuses on managing the visual state during the lazy loading process, not the act of deferring the load itself.
Explore 2 awesome GitHub repositories matching web development · Loading State Markers. Refine with filters or upvote what's useful.
vanilla-lazyload is a JavaScript lazy loading library and viewport-based asset loader designed to improve page load speed by deferring the loading of images, videos, iframes, and backgrounds. It functions as an intersection observer media loader that triggers resource downloads and script execution only when elements enter the browser viewport. The project also serves as a native lazy loading polyfill, utilizing native browser loading attributes where supported and providing a JavaScript fallback for older environments. The library distinguishes itself through active bandwidth management, suc
Uses CSS classes and callbacks to track and signal when lazy-loaded elements are loading, loaded, or failed.
lozad.js is a JavaScript lazy loading library and viewport-based media loader. It serves as a dependency-free wrapper around the Intersection Observer API to defer the loading of images and iframes until they enter the browser viewport. The project functions as a responsive image loader that optimizes page speed by delivering the most appropriate image sizes and formats based on the user's screen. It includes capabilities for responsive image optimization and layout stabilization through the use of image placeholders to prevent content shifts. The library manages the full lifecycle of deferr
Manages loading states by toggling attributes as elements enter the viewport for animations.