πŸ“Š Angular
Q. Which lifecycle hook is invoked when Angular finishes creating the component's view?
  • (A) ngAfterViewInit
  • (B) ngOnInit
  • (C) ngOnChanges
  • (D) ngAfterContentInit
πŸ’¬ Discuss
βœ… Correct Answer: (A) ngAfterViewInit

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

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