keyup and keydown in angular code example Example: angular keydown <input (keydown)="onKeydown($event)">