New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

vanilla-lazyload

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vanilla-lazyload - npm Package Versions

verlok
published 10.6.0 •

Changelog

Source

10.6.0

  • Added a demo with a popup layer and images injected after popup open, to help with #196.
  • Updated the background_images demo with a custom management of the loading class and the loaded event callback.
verlok
published 10.7.0 •

Changelog

Source

10.7.0

  • Added support for the <video> HTML tag and descending <source> tags. Now you can lazily load your videos too!
  • Created the video.html demo.
verlok
published 8.9.0 •

Changelog

Source

8.9.0

Added a public loadAll method to load all the images, as asked in #193.

verlok
published 10.8.0 •

Changelog

Source

10.8.0

Added a public loadAll method to loading all the images at once, as asked in #193.

verlok
published 8.7.1 •

Changelog

Source

8.7.1

Added a security check on lazy elements' parents.

verlok
published 10.5.2 •

Changelog

Source

10.5.2

Added a security check on lazy elements' parents.

verlok
published 10.5.1 •

Changelog

Source

10.5.1

Just a refactoring over previous version.

verlok
published 8.7.0 •

Changelog

Source

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.

verlok
published 10.5.0 •

Changelog

Source

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.

verlok
published 10.4.2 •

Changelog

Source

10.4.2

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