mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
committed by
Alex Rickabaugh
parent
3b9553bb17
commit
988243437a
@@ -190,6 +190,9 @@ export class NgForOf<T> implements DoCheck {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Applies the changes when needed.
|
||||
*/
|
||||
ngDoCheck(): void {
|
||||
if (this._ngForOfDirty) {
|
||||
this._ngForOfDirty = false;
|
||||
|
||||
Reference in New Issue
Block a user