1.0.0 • Published 6 years ago

@openforge/lazy-img v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

lazy-img

Built With Stencil

What is it?

lazy-img is a web component built with Stencil that allows you to lazy load images as the user scrolls them into the viewport. On supported browsers (Chrome and chrome based browsers, Firefox and Edge) it uses IntersectionObserver to accomplish this functionality. For Safari and IE it simply falls back to setTimeout.

This is a sample component used for an Ionic Meetup demonstration