Angular - Lifecycle Hooks
How should you correctly declare the
ngAfterViewInit method in an Angular component implementing the AfterViewInit interface?ngAfterViewInit method in an Angular component implementing the AfterViewInit interface?AfterViewInit interface requires ngAfterViewInit() with no parameters and void return type.ngAfterViewInit(): void { /* code */ }.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions