From c78ae83b5a03dd88bd9dcafe85b6364899669361 Mon Sep 17 00:00:00 2001 From: Tiep Phan Date: Wed, 11 Apr 2018 23:35:02 +0700 Subject: [PATCH] docs: update lifecycle hooks section in cheatsheet (#23320) PR Close #23320 --- aio/content/guide/cheatsheet.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/cheatsheet.md b/aio/content/guide/cheatsheet.md index 7bdce13171..f5104b8857 100644 --- a/aio/content/guide/cheatsheet.md +++ b/aio/content/guide/cheatsheet.md @@ -311,11 +311,11 @@ so the @Directive configuration applies to components as well

ngAfterViewInit() { ... } -

Called after ngAfterContentInit when the component's view has been initialized. Applies to components only.

+

Called after ngAfterContentInit when the component's views and child views / the view that a directive is in has been initialized.

ngAfterViewChecked() { ... } -

Called after every check of the component's view. Applies to components only.

+

Called after every check of the component's views and child views / the view that a directive is in.

ngOnDestroy() { ... }