Angular 2+ Lazy For Directive

Author: robianmcd
Views Total: no views
Official Page: Go to website
Publish Date: May 3, 2017
License: MIT


lazyFor is an Angular 2+ directive that can be used in place of ngFor. The main difference is that lazyFor will only render items when they are visible in the parent element. So as a user scrolls, items that are no longer visible will be removed from the DOM and new items will be rendered to the DOM.


npm install –save angular-lazy-for


Angular 2+ Lazy For Directive

You Might Be Interested In:

Add Comment