vanilla-lazyload
Advanced tools
Changelog
8.15.1
BUGFIX: Autoplaying video not loaded correctly after entering the viewport (issue #240). Thanks to @maeligg.
Changelog
10.16.1
BUGFIX: Autoplaying video not loaded correctly after entering the viewport (issue #240). Thanks to @maeligg.
Changelog
10.15.0
TypeError: default is not a constructor
Changelog
8.15.0
TypeError: default is not a constructor
Changelog
8.14.0
Now supporting WebP through dynamic extension rename if the user browser is compatible.
Changelog
10.14.0
Now supporting WebP through dynamic extension rename if the user browser is compatible.
Changelog
8.13.0
| Filename | Module Type | Advantages |
| ---------------------- | ---------------------------------------------- | ------------------------------------------------------------------ |
| lazyload.min.js
| UMD (Universal Module Definition) | Works pretty much everywhere, even in common-js contexts |
| lazyload.iife.min.js
| IIFE (Immediately Invoked Function Expression) | Works as in-page <script src="">
, ~0.5kb smaller minified |
| lazyload.amd.min.js
| AMD (Asynchronous Module Definition) | Works with the require.js module loader, ~0.5kb smaller minified |
| lazyload.es2015.js
| ES Module type | Exports LazyLoad
so you can import it in your project |