A

Admin • 832.27K Points
Coach

Q. Which Angular decorator allows you to create a custom event from a child component?

  • (A) @Output
  • (B) @Input
  • (C) @HostListener
  • (D) @ViewChild
  • Correct Answer - Option(A)
  • Views: 24
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.