Skip to content

Version 12.3

Compare
Choose a tag to compare
@verlok verlok released this 30 Oct 22:06
· 687 commits to master since this release

12.3.0

Callbacks now pass more arguments.

callback_enter, callback_exit now pass:

  1. the DOM element that entered / exited the viewport
  2. the IntersectionObserverEntry that triggered the enter/exit event
  3. the LazyLoad instance

callback_load, callback_error, callback_reveal now pass:

  1. the DOM element that entered / exited the viewport
  2. the LazyLoad instance

callback_finish now passes:

  1. the LazyLoad instance

The README file has been updated accordingly.