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

Explanation: @Input allows a parent component to bind data to a child component.

Explanation by: Mr. Dubey
@Input allows a parent component to bind data to a child component.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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