Statistics
The Highest Post







Statistics
Count 98
Avg 20.27
Min 3
Max 21
Angualr Top questions

Details



Peter Agyekum What is the difference between ngOnInit and ngAfterViewInit? ngOnInit() is called right after the directive's data-bound properties have been checked for the first time, and before any of its children have been checked. It is invoked only once when the directive is instantiated. ngAfterViewInit() is called after a component's view, and its children's views, are created
Related Topics