Skip to content

Releases: verlok/vanilla-lazyload

Version 8.16

02 Oct 09:07
Compare
Choose a tag to compare

8.16.0

Added the ability to have multiple background images, through the new data_bg option.

Version 10.18

28 Sep 17:24
Compare
Choose a tag to compare

10.18.0

Added the ability to have multiple background images, through the new data_bg option.

Version 10.17

08 Sep 11:55
Compare
Choose a tag to compare

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

08 Aug 17:03
Compare
Choose a tag to compare

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

15 Aug 05:05
Compare
Choose a tag to compare

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

08 Aug 06:59
Compare
Choose a tag to compare

10.15.0

  • Refactorized code & improved script performance
  • BUGFIX: Fixed webpack import (issue #230) TypeError: default is not a constructor

Version 8.14

07 Aug 10:41
Compare
Choose a tag to compare

8.14.0

Now supporting WebP through dynamic extension rename if the user browser is compatible.

Version 10.14

06 Aug 14:13
Compare
Choose a tag to compare

10.14.0

Now supporting WebP through dynamic extension rename if the user browser is compatible.

Version 10.13

03 Aug 13:45
Compare
Choose a tag to compare

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

03 Aug 15:51
Compare
Choose a tag to compare

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