?
Dieses Dokument verwendet PHP-Handbuch für chinesische Websites Freigeben
指定自定義行為到keydown事件上。
<ANY
ng-keydown="">
...
</ANY>
參數(shù) | 類型 | 詳述 |
---|---|---|
ngKeydown | expression | 在 keydown觸發(fā)時(shí)執(zhí)行的表達(dá)式 (事件對(duì)象存于 |
<input ng-keydown="count = count + 1" ng-init="count=0">
key down count: {{count}}