IntersectionObserver Lazy Loader For Angular 2+

Author: aaronlifton2
Official Page: Go to website
Views Total: 1,039
License: MIT

Description:

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.

Installation:

# NPM
$ npm install angular-lazy-load --save

Preview:

IntersectionObserver Lazy Loader For Angular 2+


You Might Be Interested In:

Tags:

Add Comment