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

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