A

Admin • 828.70K Points
Coach

Q. What is the use of the @Output decorator in Angular?

  • (A) To emit events from a child component to a parent
  • (B) To pass data to a child component
  • (C) To create directives
  • (D) To define modules
  • Correct Answer - Option(A)
  • Views: 17
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
@Output works with EventEmitter to send data up the component tree.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.