adesignl / lazyloadingscript

Lazy Loading Script That Will Help You With page Speed Performance.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Easy Lazy Loading

  1. Add this js script to your main js file
  2. Add loading="lazy" to your images and iframes
  3. Change the src and srcset attributes to data-src and data-srcset
  4. enjoy!

About

Lazy Loading Script That Will Help You With page Speed Performance.

License:MIT License


Languages

Language:JavaScript 56.7%Language:HTML 43.3%