πŸ“Š Angular
Q. How do you bind the value of an input element to a component property in two-way binding?
  • (A) Using [(ngModel)]
  • (B) Using [value]
  • (C) Using (input)
  • (D) Using [ngModel]
πŸ’¬ Discuss
βœ… Correct Answer: (A) Using [(ngModel)]

Explanation: [(ngModel)] provides two-way binding between input and component property.

Explanation by: Mr. Dubey
[(ngModel)] provides two-way binding between input and component property.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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