πŸ“Š Angular
Q. Which Angular decorator allows you to create a custom event from a child component?
  • (A) @Output
  • (B) @Input
  • (C) @HostListener
  • (D) @ViewChild
πŸ’¬ Discuss
βœ… Correct Answer: (A) @Output

Explanation: @Output is used to emit events from child to parent component.

Explanation by: Mr. Dubey
@Output is used to emit events from child to parent component.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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