A

Admin • 831K Points
Coach

Q. What lifecycle hook is called after Angular has initialized all data-bound properties?

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

Explanation by: Admin
ngOnInit is called once after the first ngOnChanges.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.