Q. How do you trigger change detection manually in Angular?

  • (A) Using ChangeDetectorRef.detectChanges()
  • (B) Using NgZone.run()
  • (C) Using ApplicationRef.tick()
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above
Explanation: Angular provides several ways to manually trigger change detection.
Explanation by: Mr. Dubey
Angular provides several ways to manually trigger change detection.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
76
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
90%
Success Rate