Skip to content

JhonatanHern/lazyload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Lazyload.js

<img data-src="example.jpg" class="lazy-load">

lazyload.js checks if the image is inside the viewport while scrolling. When in enters into the viewport it turns the image into:

<img src="example.jpg" class="lazy-load">

In order to integrate it into your images, add the class "lazy-load" to the img tag.

Releases

No releases published

Packages

No packages published