πŸ“Š Angular
Q. Which decorator is used to define an input property in a component?
  • (A) @Input
  • (B) @Output
  • (C) @Property
  • (D) @Model
πŸ’¬ Discuss
βœ… Correct Answer: (A) @Input

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

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