More examples: https://rockcookies.github.io/hqy-lazyload/examples.html
USAGE & API
npm install hqy-lazyload --save
- hqy-lazyload is used on big sites with millions of monthly visitors so it has been tested out in the real world.
- hqy-lazyload is very fast. It has focus on performance why it also auto-destroys when it's done lazy loading.
- hqy-lazyload can lazy load all types of images including background images.
- hqy-lazyload is future-proof. It supports srcset and the picture element.
- hqy-lazyload can serve retina images on retina devices.
- hqy-lazyload can lazy load everything with a src like iframes, HTML5 videos, scripts, unity games etc.
- hqy-lazyload supports all browsers used today including legacy browsers like IE7 and 8.
- hqy-lazyload supports all main module formats like AMD, CommonJS and globals.
Copyright (c) 2013-2017 RockCookies. Licensed under the The MIT License (MIT).