πŸ“Š Angular
Q. How can you make a component reusable and configurable from the outside?
  • (A) By using @Input properties
  • (B) By using @Output properties
  • (C) By injecting services
  • (D) By using ngIf directive
πŸ’¬ Discuss
βœ… Correct Answer: (A) By using @Input properties

Explanation: @Input lets you pass data to components making them reusable.

Explanation by: Mr. Dubey
@Input lets you pass data to components making them reusable.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
61
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate