Q. Which decorator is used to define input properties in a component?

  • (A) @Input
  • (B) @Output
  • (C) @Injectable
  • (D) @ViewChild
πŸ’¬ Discuss
βœ… Correct Answer: (A) @Input
Explanation: @Input decorator marks a property as input to receive data from parent.
Explanation by: Mr. Dubey
@Input decorator marks a property as input to receive data from parent.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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