πŸ“Š Angular
Q. What decorator is used to emit events from child to parent components?
  • (A) @Input
  • (B) @Output
  • (C) @EventEmitter
  • (D) @HostListener
πŸ’¬ Discuss
βœ… Correct Answer: (B) @Output

Explanation: @Output paired with EventEmitter sends events from child to parent.

Explanation by: Mr. Dubey
@Output paired with EventEmitter sends events from child to parent.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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