A

Admin • 828.70K Points
Coach

Q. Which decorator is used to define an input property in a component?

  • (A) @Input
  • (B) @Output
  • (C) @Property
  • (D) @Model
  • Correct Answer - Option(A)
  • Views: 18
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
@Input is used to pass data from parent to child components.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.