keydown event angular 6 code example
Example 1: angular keydown
<input (keydown)="onKeydown($event)">
Example 2: onkeydown angularjs
<ANY
ng-keydown="expression">
...
</ANY>
<input (keydown)="onKeydown($event)">
<ANY
ng-keydown="expression">
...
</ANY>