A

Admin • 833.24K Points
Coach

Q. Which lifecycle hook is triggered every time Angular checks for changes?

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

Explanation by: Admin

ngDoCheck is called on every change detection run.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.