Angular 2+ List of Events

List of the most commonly used events in Angular.
(focus)="myMethod()" // cursor is on or inside the element
(blur)="myMethod()" // cursor leaves the element
(submit)="myMethod()"
(scroll)="myMethod()"
(cut)="myMethod()"
(copy)="myMethod()"
(paste)="myMethod()"
(keydown)="myMethod()"
(keypress)="myMethod()"
(keyup)="myMethod()"
(mouseenter)="myMethod()"
(mousedown)="myMethod()"
(mouseup)="myMethod()"
(change)="myMethod($event)"
(click)="myMethod()"
(dblclick)="myMethod()"
(selectionChange)="onSelectedMonth($event)" // Material On Select
(drag)="myMethod()"
(dragover)="myMethod()"
(drop)="myMethod()"
Link to Angular API List
You must be logged in to post a comment.