IntersectionObserver Lazy Loader For Angular 2+

Author: aaronlifton2
Publish Date:
Official Page: Go to website
Views Total: 973
License: MIT


Yet another Angular 2 module to lazy load module in your app. By default, it uses IntersectionObserver instead of attaching an event listener to the document. Optionally, you can use the event listener instead to load things ahead of time. Comes with a lazy-load directive for lazy loading images, but you can extend the on-scroll-to directive to lazy load anything! Also, to detect scrolling in a container, set the scroll-root attribute to a selector.


$ npm install angular-lazy-load --save


IntersectionObserver Lazy Loader For Angular 2+


Add Comment