AfterViewInit
and AfterViewChecked
are only available in Components, and not in Directives.
OnChanges
(multiple times)OnInit
(once)DoCheck
(multiple times)AfterContentInit
(once)AfterContentChecked
(multiple times)AfterViewInit
(once) (Component only)AfterViewChecked
(multiple times) (Component only)OnDestroy
(once)