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

Explanation: @Input decorator is used to pass data from parent to child component.

Explanation by: Mr. Dubey
@Input decorator is used to pass data from parent to child component.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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