R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which Angular lifecycle hook is triggered after the content has been projected?

  • (A) ngOnInit
  • (B) ngAfterContentInit
  • (C) ngAfterViewInit
  • (D) ngDoCheck
  • Correct Answer - Option(B)
  • Views: 9
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Ram Sharma
ngAfterContentInit runs after Angular projects external content into the component.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.