Angular 2+ Lazy For Directive

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

Description:

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.

Installation:

npm install –save angular-lazy-for

Preview:

Angular 2+ Lazy For Directive


You Might Be Interested In:

Add Comment