?
Dieses Dokument verwendet PHP-Handbuch für chinesische Websites Freigeben
ngMousedown指令允許你指定自定義行為到mousedown事件上。
<ANY
ng-mousedown="">
...
</ANY>
參數(shù) | 類型 | 詳述 |
---|---|---|
ngMousedown | expression | 在mousedown觸發(fā)時執(zhí)行的表達式 . (事件對象存放于 |
<button ng-mousedown="count = count + 1" ng-init="count=0">
Increment (on mouse down)
</button>
count: {{count}}