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

  • (A) Using @Inject
  • (B) Using @ViewChild
  • (C) Using @Input
  • (D) Using @Output
πŸ’¬ Discuss
βœ… Correct Answer: (C) Using @Input
Explanation: Data is passed to child components using the @Input decorator.
Explanation by: Mr. Dubey
Data is passed to child components using the @Input decorator.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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