πŸ“Š Angular
Q. What is the role of `@Input()` in Angular?
  • (A) To pass data from parent to child component
  • (B) To emit data to parent component
  • (C) To inject services
  • (D) To create a form control
πŸ’¬ Discuss
βœ… Correct Answer: (A) To pass data from parent to child component

Explanation: `@Input()` allows data to be received from a parent component.

Explanation by: Mr. Dubey
`@Input()` allows data to be received from a parent component.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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