docs: add method doc (#27377)

PR Close #27377
This commit is contained in:
Judy Bogart 2019-01-21 08:58:50 -08:00 committed by Alex Rickabaugh
parent 3b9553bb17
commit 988243437a
1 changed files with 3 additions and 0 deletions

View File

@ -190,6 +190,9 @@ export class NgForOf<T> implements DoCheck {
}
}
/**
* Applies the changes when needed.
*/
ngDoCheck(): void {
if (this._ngForOfDirty) {
this._ngForOfDirty = false;