A

Admin • 825.56K Points
Coach

Q. Which lifecycle hook detects changes to input properties?

  • (A) ngOnChanges
  • (B) ngOnInit
  • (C) ngAfterViewInit
  • (D) ngOnDestroy
  • Correct Answer - Option(A)
  • Views: 8
  • 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.