Created
December 15, 2017 13:23
-
-
Save pimatco/d2d7c2ee6b4b8b0421ee03040effbdcf to your computer and use it in GitHub Desktop.
All Event Binding Types in Angular 4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(focus)="myMethod()" // An element has received focus | |
(blur)="myMethod()" // An element has lost focus | |
(submit)="myMethod()" // A submit button has been pressed | |
(scroll)="myMethod()" | |
(cut)="myMethod()" | |
(copy)="myMethod()" | |
(paste)="myMethod()" | |
(keydown)="myMethod()" | |
(keypress)="myMethod()" | |
(keyup)="myMethod()" | |
(mouseenter)="myMethod()" | |
(mousedown)="myMethod()" | |
(mouseup)="myMethod()" | |
(click)="myMethod()" | |
(dblclick)="myMethod()" | |
(drag)="myMethod()" | |
(dragover)="myMethod()" | |
(drop)="myMethod()" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment