Q. Which Angular directive is used to bind an event to a method?

  • (A) ()
  • (B) []
  • (C) *ngIf
  • (D) *ngFor
πŸ’¬ Discuss
βœ… Correct Answer: (A) ()
Explanation: Parentheses () are used to bind DOM events to component methods.
Explanation by: Mr. Dubey
Parentheses () are used to bind DOM events to component methods.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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