πŸ“Š Angular
Q. Which Angular lifecycle hook is called when input properties change?
  • (A) ngOnChanges
  • (B) ngOnInit
  • (C) ngAfterViewInit
  • (D) ngOnDestroy
πŸ’¬ Discuss
βœ… Correct Answer: (A) ngOnChanges

Explanation: ngOnChanges is called whenever input-bound properties change.

Explanation by: Mr. Dubey
ngOnChanges is called whenever input-bound properties change.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
49
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate