Releases: verlok/vanilla-lazyload
Version 8.16
8.16.0
Added the ability to have multiple background images, through the new data_bg
option.
Version 10.18
10.18.0
Added the ability to have multiple background images, through the new data_bg
option.
Version 10.17
10.17.0
Added a new thresholds
option that you can use when you need to have different thresholds for the scrolling area, so a single threshold
option is not enough for your needs. Learn more in the API section of the README file.
Version 8.15
8.15.2
BUGFIX: Class loaded
was not applied to a loaded video (issue #239).
8.15.1
BUGFIX: Autoplaying video not loaded correctly after entering the viewport (issue #240). Thanks to @maeligg.
8.15.0
- Refactorized code & improved script performance
- BUGFIX: Fixed webpack import (issue #230)
TypeError: default is not a constructor
Version 10.16
10.16.2
BUGFIX: Class loaded
was not applied to a loaded video (issue #239).
10.16.1
BUGFIX: Autoplaying video not loaded correctly after entering the viewport (issue #240). Thanks to @maeligg.
10.16.0
Added new option load_delay
to skip loading when fast scrolling occurs, as requested in issues #235 and #166.
Pass in a number of milliseconds, and each image will be loaded after it stayed inside that viewport for that time.
Version 10.15
10.15.0
- Refactorized code & improved script performance
- BUGFIX: Fixed webpack import (issue #230)
TypeError: default is not a constructor
Version 8.14
8.14.0
Now supporting WebP through dynamic extension rename if the user browser is compatible.
Version 10.14
10.14.0
Now supporting WebP through dynamic extension rename if the user browser is compatible.
Version 10.13
10.13.0
- Shortened the RegEx for crawlers detection (shaved a few bytes)
- Released LazyLoad in new module types! Enjoy the new flavours :)
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 |
Version 8.13
8.13.0
- Shortened the RegEx for crawlers detection (shaved a few bytes)
- Released LazyLoad in new module types! Enjoy the new flavours :)
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 |