A

Admin • 833K Points
Coach

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
  • Correct Answer - Option(A)
  • Views: 31
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.