github verlok/vanilla-lazyload 11.0.6
Version 11.0

latest releases: 19.1.3, 19.1.2, 19.1.1...
5 years ago

Version 11

11.0.6

Restored the callback_set callback as deprecated, in order to make the upgrade from v.10 easier.

11.0.5

Fixed the module property of this package.json, which was pointing to a non-existing dist file.

11.0.4

Fixed the main property of this package.json, which was pointing to a non-existing dist file.

11.0.3

Rollback of the patch applied in 11.0.2 since it gave strange results in some cases. See #293. Thanks to @davejamesmiller for the analysis and the report.

11.0.2

Applied a patch to resolve #293 a Chromium bug already fixed in Chrome 72. Thanks to @dverbovyi for the analysis and the report.

11.0.1

Squashed a nasty bug that occurred on IE 11 and Safari when the IntersectionObserver polyfill wasn't loaded before LazyLoad.

11.0.0

  • Changed bundle file name of ES Module from lazyload.es2015.js to lazyload.esm.js
  • Removed the to_webp option (see issue #288)
  • Ceased support and development of LazyLoad v.8 (see issue #306)
  • Callbacks renewal :: POSSIBLE BREAKING CHANGE
    • Callback callback_enter has changed its meaning! It is now called whenever an element enters the viewport, even if load_delay is set
    • Callback callback_exit (new) is called whenever an element exits the viewport, even if load_delay is set
    • Callback callback_reveal (new) is called when an element is about to be revealed, and its attribute values were copied from the data- attributes to the actual ones.
    • Callback callback_set was removed. You can use callback_reveal instead.
  • Private methods like _setObserver, _onIntersection etc. are now hidden and protected.
  • Added the auto_unobserve boolean option.
  • Bugfix: loadAll() didn't unobserve elements.
  • Updated to Jest 24, Babel 7, etc.
  • Fixed dev dependencies vulnerabilities

Don't miss a new vanilla-lazyload release

NewReleases is sending notifications on new releases.