lifeCycle
-
ngOnChange
Called after a bound Input Property (
@Input()
) changes -
ngOnInit
Called once the component is initializated, after the
constructor
-
ngDoCheck
Called during every change detection runs
-
ngAfterContentInit
Call after contect(
ng-content
) has been projected into view -
ngAfterContentChecked
Call every time the project content(
ng-content
) has been checked -
ngAfterViewInit
Call after the view of component (and its children) has been initializated
-
ngOnDestroy
Call once the component is about to destroy