|Publish Date:||2 years ago|
|Official Page:||Go to website|
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 $ npm install angular-lazy-load --save