Q. Which Angular lifecycle hook is called when Angular checks for changes in content projected into the component?

  • (A) ngAfterContentInit
  • (B) ngAfterViewInit
  • (C) ngDoCheck
  • (D) ngOnChanges
πŸ’¬ Discuss
βœ… Correct Answer: (A) ngAfterContentInit
Explanation: ngAfterContentInit is called after content projection initialization.
Explanation by: Mr. Dubey
ngAfterContentInit is called after content projection initialization.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
89
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate