Q. How do you pass data from a parent to a child component?

  • (A) @Input() decorator
  • (B) @Output() decorator
  • (C) EventEmitter
  • (D) ViewChild
πŸ’¬ Discuss
βœ… Correct Answer: (A) @Input() decorator
Explanation: @Input allows data binding from parent to child components.
Explanation by: Mr. Dubey
@Input allows data binding from parent to child components.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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