A

Admin • 828.70K Points
Coach

Q. What does `ngOnChanges` do?

  • (A) Executes when the app starts
  • (B) Executes when input properties change
  • (C) Executes when the view is initialized
  • (D) Executes when the component is destroyed
  • Correct Answer - Option(B)
  • Views: 14
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
ngOnChanges is triggered when input property values change.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.