lazy-observer-load

A library to lazy load images using Intersection Observer

Usage no npm install needed!

<script type="module">
  import lazyObserverLoad from 'https://cdn.skypack.dev/lazy-observer-load';
</script>

README

Lazy Load - Intersection Observer

A library to lazy load images using Intersection Observer

Details

If you'd like to learn more about this code, I've written up a full blog post on my blog.

This library was also featured on the 2017 Performance Calendar - for more details, please see this link.

For a live demo, please visit deanhume.github.io/lazy-observer-load.