Skip to content

qlash/Image-Lazy-Load-inline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Image-Lazy-Load-inline

Lazy load images on scroll event

Usage

  • Insert script inline at the end of the body tag.
  • Add data-original to each image element you want to be lazy loaded
  • Lazy loader is activated on browser's scroll event
<img src="load-boilerplate" data-original="path/to/src/img">

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published