A

Admin • 832.27K Points
Coach

Q. Which lifecycle hook is called after Angular initializes the component's input properties?

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

Explanation by: Admin

ngOnChanges is called whenever data-bound input properties change.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.