A

Admin • 832.27K Points
Coach

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

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

Explanation by: Admin

ngOnChanges is called whenever an input property value changes.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.