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

Explanation: ngAfterViewInit runs after the component's view and its child views have been initialized.

Explanation by: Mr. Dubey
ngAfterViewInit runs after the component's view and its child views have been initialized.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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