SyntaxFix
Write A Post
Hire A Developer
Questions
Actually ngAfterViewInit() will initiate only once when the component initiate.
ngAfterViewInit()
If you really want a event triggers after the HTML element renter on the screen then you can use ngAfterViewChecked()
ngAfterViewChecked()