Specify custom behavior on keypress event.
<ANY
ng-keypress="">
...
</ANY>
Param | Type | Details |
---|---|---|
ngKeypress | expression | Expression to evaluate upon keypress. (Event object is available as |
<input ng-keypress="count = count + 1" ng-init="count=0">
key press count: {{count}}