A

Admin • 828.70K Points
Coach

Q. Which Angular lifecycle hook is called after the component's view and child views are initialized?

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

Explanation by: Admin
ngAfterViewInit is triggered after the component’s view and its children are fully initialized.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.