Angular - Templates and Data Binding
Which of the following is the correct syntax to bind a click event in an Angular template?
(click).<button (click)="doSomething()">Click</button> uses the correct (click) syntax with quotes and parentheses.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions