angular cli onkeydown get key code example Example: angular keydown <input (keydown)="onKeydown($event)">