A

Admin • 833.24K Points
Coach

Q. Which Angular lifecycle hook is called when input properties change?

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

Explanation by: Admin

ngOnChanges is called whenever input-bound properties change.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.