Browsed by
Category: ngFor

Manually triggering *ngFor at Angular

Manually triggering *ngFor at Angular

Concerning *ngFor and *ngForOf, there are three instances where the template is updated, these are: When an item is added, a new instance of the template is added to the DOM. When an item is removed, its template instance is removed from the DOM. When items are reordered, their respective templates are reordered in the DOM. But what if you’re only changing a property of an object within the array *ngFor uses? As per above rules, this is not detected…

Read More Read More