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

Explanation: ngAfterViewInit is triggered after the component's view and child views are initialized.

Explanation by: Mr. Dubey
ngAfterViewInit is triggered after the component's view and child views are initialized.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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