Skip to content

Releases: drementer/lazy-load.js

v1.0.5

30 Jun 22:51
Compare
Choose a tag to compare

Changelog

[1.0.5] - 2023-07-01

Added

  • Added selector and options parameters to the lazyLoadImages function.
  • Obtained lazyLoadItems variable using the selector parameter.
  • Set default options for IntersectionObserver.
  • Created a variable named mergedOptions and merged options with defaultOptions.

Changed

  • Updated the declaration of variables target, value, and observer in the lazyLoad function.
  • Replaced observer.disconnect() with observer.unobserve(target).

Removed

  • Removed the usage of window.onload.

Full Changelog: v1.0.4...v1.0.5

v1.0.0

10 Jun 19:34
Compare
Choose a tag to compare

v1.0.0