Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 312 Bytes

File metadata and controls

11 lines (7 loc) · 312 Bytes

sifrr-lazy-img

Usage

After loading sifrr-lazy-img JS file as instructed in main readme. Put this in your html file:

<img is="sifrr-lazy-img" data-src="source/to/use.jpg"> <!-- Use data-src instead of src -->

When picture is 200px below viewport, they will be loaded.