ng-keyup

Specify custom behavior on keyup event on a fa-surface.

Usage

<ANY ng-keyup="expression">

</ANY>

API

Attr Type Details
ngKeyup expression

Expression to evaluate upon keyup. (Event object is available as $event and can be interrogated for keyCode, altKey, etc.)

Example

  Edit in Plunker
 <fa-surface ng-keyup="count = count + 1" ng-init="count=0">
  key up count: {{count}}
</fa-surface>