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.
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
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.