YouTip LogoYouTip

Ng Ng Keyup

# AngularJS `ng-keyup` Directive [![Image 3: AngularJS Reference](#) AngularJS Reference](#) * * * ## AngularJS Example Code executed when key is released:

{{count}}

[Try it Β»](#) * * * ## Definition and Usage The **ng-keyup** directive tells AngularJS what operation to perform when a key is released on a specified HTML element. The **ng-keyup** directive does not override the element's native onkeyup event. When the event is triggered, both the **ng-keyup** expression and the native onkeyup event will execute. Key press event order: 1. Keydown 2. Keypress 3. Keyup * * * ## Syntax , ,