ng-keydown
Specify custom behavior on keydown event on a fa-surface.
Usage
<ANY ng-keydown="expression">
</ANY>
API
Attr | Type | Details |
---|---|---|
ngKeydown |
expression
|
Expression to evaluate upon
keydown. (Event object is available as |
Example
Edit in Plunker
<fa-surface ng-keydown="count = count + 1" ng-init="count=0">
key down count: {{count}}
</fa-surface>