πŸ“Š Angular
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) To define the HTML tag for using the component

Explanation: The selector specifies how to use the component in templates.

Explanation by: Mr. Dubey
The selector specifies how to use the component in templates.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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