πŸ“Š Angular
Q. How can you pass data from a parent to a child component in Angular?
  • (A) Using @Input decorator
  • (B) Using @Output decorator
  • (C) Using service injection
  • (D) Using ViewChild
πŸ’¬ Discuss
βœ… Correct Answer: (A) Using @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

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