Q. Which decorator is used to mark a class property as an input property to receive data from a parent component?

  • (A) @Input
  • (B) @Output
  • (C) @Injectable
  • (D) @Component
πŸ’¬ Discuss
βœ… Correct Answer: (A) @Input
Explanation: @Input decorator is used to receive data from a parent component.
Explanation by: Mr. Dubey
@Input decorator is used to receive data from a parent component.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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