← Back to the directory

verlok/vanilla-lazyload

View on GitHub

LazyLoad is a lightweight, flexible script that speeds up your website by deferring the loading of your below-the-fold images, backgrounds, videos, iframes and scripts to when they will enter the viewport. Written in plain "vanilla" JavaScript, it leverages IntersectionObserver, supports responsive images and enables native lazy loading.

verlok/vanilla-lazyload is #9,015 on the bestofgithub Elo ladder, in Copper I, with a rating of 1,349 (−1 this week). It has 7,849 stars, 3 gained in the last week.

Copper I

1,349 Elo

  • #9,015 on the ladder
  • +8 today · −1 this week
  • Peak 1,387
8 Elo to Bronze V

Stars

7,849

  • +1 today
  • +3 this week
  • – this month

Repository

Forks
669
Language
JavaScript
Last push

Achievements

bestofgithub badgeMaintainer? Show your league in your README

Card: your league's emblem, from Copper to Legendary

[![bestofgithub](https://bestofgithub.dev/badge/verlok/vanilla-lazyload.svg?style=card)](https://bestofgithub.dev/repo/verlok/vanilla-lazyload)

Flat: fits beside your other badges

[![bestofgithub](https://bestofgithub.dev/badge/verlok/vanilla-lazyload.svg)](https://bestofgithub.dev/repo/verlok/vanilla-lazyload)

Install

git
git clone https://github.com/verlok/vanilla-lazyload.git

Similar repositories

ApoorvSaxena/lozad.js

Open on GitHubJavaScript

🔥 Highly performant, light ~1kb and configurable lazy loader in pure JS with no dependencies for responsive images, iframes and more

  • 1,287−1 Elo, change today
  • 7.4k stars
  • 434 forks
git
git clone https://github.com/ApoorvSaxena/lozad.js.git
  • hacktoberfest
  • html
  • images
  • javascript

README

Loading README…