Skip to content

v1.0.5

Latest
Compare
Choose a tag to compare
@drementer drementer released this 30 Jun 22:51
· 1 commit to main since this release

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