πŸ“Š Angular
Q. How can you pass data from a parent to a child component?
  • (A) Using @Input
  • (B) Using @Output
  • (C) Using a service
  • (D) Using ngModel
πŸ’¬ Discuss
βœ… Correct Answer: (A) Using @Input

Explanation: The @Input decorator allows parent components to pass data to child components.

Explanation by: Mr. Dubey
The @Input decorator allows parent components to pass data to child components.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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