angular 的滑鼠事件

昔憶落落發表於2019-02-18


angular 和js的一些事件:

(focus)="method()"

(blur)="method()"(submit)="method()" 
(scroll)="method()" 
(cut)="method()" 
(copy)="method()"
(paste)="method()" 
(keydown)="method()" 
(keypress)="method()" 
(keyup)="method()" 
(mouseenter)="myMethod()"
(mousedown)="myMethod()" 
(mouseup)="myMethod()" 
(click)="myMethod()" 
(dblclick)="myMethod()"
(drag)="myMethod()"
(dragover)="myMethod()" 
(drop)="myMethod()"複製程式碼


相關文章