πŸ“Š Angular
Q. Which lifecycle hook is called after the component's view has been fully initialized?
  • (A) ngAfterViewInit
  • (B) ngOnInit
  • (C) ngDoCheck
  • (D) ngAfterContentInit
πŸ’¬ Discuss
βœ… Correct Answer: (A) ngAfterViewInit

Explanation: ngAfterViewInit is called once the component’s view is initialized.

Explanation by: Mr. Dubey
ngAfterViewInit is called once the component’s view is initialized.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
49
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate