📜  ngon events angular - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:32.940000             🧑  作者: Mango

代码示例2
gular gives us 8 hooks to allow us to tap into the lifecycle of our components and trigger actions at specific points in the lifecycle.

1. ngOnChanges
2. ngOnInit
3. ngDoCheck
4. ngAfterContentInit
5. ngAfterContentChecked