Q. What is the purpose of Angular decorators like @Input and @Output?

  • (A) To bind properties and handle events between components
  • (B) To handle HTTP calls
  • (C) To perform form validations
  • (D) To define CSS styles
πŸ’¬ Discuss
βœ… Correct Answer: (A) To bind properties and handle events between components
Explanation: @Input and @Output are used for component communication in Angular.
Explanation by: Mr. Dubey
@Input and @Output are used for component communication in Angular.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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