πŸ“Š Angular
Q. Which lifecycle hook is called once the component’s view has been fully initialized?
  • (A) ngAfterViewInit
  • (B) ngOnInit
  • (C) ngAfterContentInit
  • (D) ngOnChanges
πŸ’¬ 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

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