A

Admin • 832.27K Points
Coach

Q. What is the selector property in @Component decorator used for?

  • (A) To define the HTML tag for using the component
  • (B) To specify styles for the component
  • (C) To import other components
  • (D) To bind data
  • Correct Answer - Option(A)
  • Views: 17
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

The selector specifies how to use the component in templates.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.