A

Admin • 832.27K Points
Coach

Q. Which lifecycle hook is called after Angular initializes 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 typically used for component initialization.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.