πŸ“Š Angular
Q. What does the `selector` property in `@Component` specify?
  • (A) The HTML tag used to represent the component
  • (B) The CSS class of the component
  • (C) The template file path
  • (D) The service injected
πŸ’¬ Discuss
βœ… Correct Answer: (A) The HTML tag used to represent the component

Explanation: The `selector` tells Angular which HTML element represents the component.

Explanation by: Mr. Dubey
The `selector` tells Angular which HTML element represents the component.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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