Complete the code to bind a click event to the button.
<button [1]="onClick()">Click me</button>
In Angular, event binding uses parentheses around the event name, like (click).
Complete the code to call the submitForm method when the form is submitted.
<form [1]="submitForm()">...</form>
The submit event is bound using parentheses: (submit).
Fix the error in the event binding to call handleClick on button click.
<button [1]="handleClick()">Click</button>
The event binding must use parentheses and the method call should include parentheses: (click)="handleClick()". Here, the blank is for the event name with parentheses.
Fill both blanks to bind a keydown event and call onKeydown method.
<input [1]="[2]()">
keyup.The event name keydown is bound with parentheses: (keydown), and the method called is onKeydown().
Fill all three blanks to bind a mouseenter event, call onMouseEnter, and pass the event object as $event.
<div [1]="[2]([3])">Hover me</div>
(mouseover) instead of (mouseenter).$event.The event binding uses (mouseenter), calls the method onMouseEnter, and passes the event object $event.