Skip to content

2.0.0 release!

Compare
Choose a tag to compare
@malchata malchata released this 15 Apr 17:59
39667da

This is a rewrite of yall.js. Improvements/changes include:

  • <iframe> elements can now be lazy loaded.
  • requestIdleCallback can be optionally used to lazy load elements while optimizing browser idle time.
  • Images can be lazy loaded after they're added to the DOM by specifying the observeChanges option.
  • Simple <img> lazy loading use cases now benefit from async decoding using Image.decode().
  • Unlike version 1, a number of configuration options now exist that allow you to change behaviors to your liking.

File an issue for any bugs you encounter. Testing was extensive, but bugs are always possible!

Happy lazy loading!