| Start |
|---|
| OnChanges Fired when one or more of the component or directive properties have been changed. On change event will log |
| OnInit Fired when component or directive properties have been initialized. (Before those of the child directives) |
| OnDestroy Fired when the component or directive instance is destroyed. |
| AfterContentInit Fire after the initialization of the content of the component or directive has finished. (Right after OnInit) |
| AfterContentChecked Fire after the view has been fully initialized. (Only available for components) |
| AfterViewInit Fires after initializing both the component view and any of its child views. This is a useful lifecycle hook for plugins outside of the Angular 2 ecosystem. For example, you could use this method to initialize a jQuery date picker based on the markup that Angular 2 has rendered. |
| AfterViewChecked Fire after the check of the view, of the component, has finished. (Only available for components) |
| DoCheck Allows to listen for changes only on specified properties RemarksEvents availability
Events order
Further Reading |
Read Article
https://develop.horje.com/learn/1434/reference