From 988243437a4938771c1a07bccdd403968f2b777c Mon Sep 17 00:00:00 2001 From: Judy Bogart Date: Mon, 21 Jan 2019 08:58:50 -0800 Subject: [PATCH] docs: add method doc (#27377) PR Close #27377 --- packages/common/src/directives/ng_for_of.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/common/src/directives/ng_for_of.ts b/packages/common/src/directives/ng_for_of.ts index ed3beeca5c..08feff2183 100644 --- a/packages/common/src/directives/ng_for_of.ts +++ b/packages/common/src/directives/ng_for_of.ts @@ -190,6 +190,9 @@ export class NgForOf implements DoCheck { } } + /** + * Applies the changes when needed. + */ ngDoCheck(): void { if (this._ngForOfDirty) { this._ngForOfDirty = false;