Skip to content

Releases: verlok/vanilla-lazyload

Version 10.7

22 Jun 20:51
Compare
Choose a tag to compare

CHANGELOG

10.7.0

Added support for the video tag. Closes #209.
Created the video.html demo.

Version 10.6

27 Apr 09:11
Compare
Choose a tag to compare

CHANGELOG

10.6.0

Added a demo with a popup layer and images injected after popup open.
Closes #196.

Updated the background_images demo with a custom management of the loading class and the loaded event callback.

Version 8.7

20 Mar 22:20
Compare
Choose a tag to compare

CHANGELOG

8.7.1

Added a security check on lazy elements' parents.

8.7.0

Added node support by merging pull request #188, "node-support" by @klarstrup.

With these changes in place, simply importing vanilla-lazyload without using it won't crash Node by itself. This is important for isomorphic/universal/server rendered setups where the same code runs on both the server and the browser.

Version 10.5

20 Mar 21:46
Compare
Choose a tag to compare

CHANGELOG

10.5.2

Added a security check on lazy elements' parents. Closes #155.

10.5.1

Just a code refactoring over 10.5.0.

10.5.0

Added node support by merging pull request #188, "node-support" by @klarstrup.

With these changes in place, simply importing vanilla-lazyload without using it won't crash Node by itself. This is important for isomorphic/universal/server rendered setups where the same code runs on both the server and the browser.

Version 10.4

18 Dec 22:07
Compare
Choose a tag to compare

CHANGELOG

10.4.2

Fixed a bug for which sometimes images wouldn't reveal on Chrome 65 (see issue #165).

10.4.1

Updated dist folder.

10.4.0

Added the callback_enter callback, which is called whenevery any element managed by LazyLoad enters the viewport, as requested in #159. Thanks to @alvarotrigo.

Version 8.6

20 Dec 21:21
Compare
Choose a tag to compare

CHANGELOG

8.6.0

Added the callback_enter callback, which is called whenevery any element managed by LazyLoad enters the viewport, as requested in #159. Thanks to @alvarotrigo.

Version 10.3

14 Sep 16:04
Compare
Choose a tag to compare

CHANGELOG

10.3.6

Fixed tests to match dataset revert made in 10.3 and 8.2 (oopsy).

10.3.5

Fixed a bug that could occur on older versions of IE when trying to access an image's parent node.

10.3.4

Fixed a CustomEvent bug which occurred on IE when using async object initialization.

10.3.3

Fixed supportsClassList test to work even when the document object isn't yet there. Thanks to @Spone and his #145.

10.3.1

Introduced a workaround for an issue of Microsoft Edge documented here

10.3.0

Restored support to IE9 and IE10, as requested in #118 and #132.

Version 8.5

18 Nov 14:27
Compare
Choose a tag to compare

CHANGELOG

8.5.2

Fixed a bug that could occur on older versions of IE when trying to access an image's parent node.

8.5.1

Fixed a CustomEvent bug which occurred on IE when using async object initialization

8.5.0

Uniformed API to version 10.x API.
Now both versions 8.x and 10.x share the same API.
No more confusion, hooray! \o/

Version 8.2

14 Sep 16:05
Compare
Choose a tag to compare

CHANGELOG

8.2.1

Fixed supportsClassList test to work even when the document object isn't yet there. Thanks to @Spone and his #145.

8.2.0

Restored support to IE9 and IE10, as requested in #118 and #132.

Version 10.2

13 Sep 07:47
Compare
Choose a tag to compare

CHANGELOG

10.2.0

To solve cases when you can't select the elements to load using a string, added the ability to pass a NodeList object...

  • as a second parameter in the constructor, after the regular option object, e.g. var ll = new Lazyload({}, myNodeList)
  • as a single parameter to the update() method, e.g. ll.update(myNodeList)

10.1.0

To solve cases when you can't select the elements to load using a string, added the ability to pass a NodeList object to the elements_selector option, as suggested by @SassNinja in #130.