πŸ“Š Angular
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

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