ngAfterViewInit() and ngAfterViewChecked() in Angular

Опубликовано: 06 Март 2026
на канале: TechBoT Ram
4,755
48

ngAfterViewInit() and ngAfterViewChecked() in Angular
ngAfterViewInit and ngAfterViewChecked are the life cycle hooks of a component in angular.These two life cycle hooks are called once component view is fully initialized.Useful to write custom logic using ViewChild and ViewChildren properties and methods in component.