Rohan Ramani

Rohan Ramani

  • NA
  • 786
  • 144.8k

How to Find key on keydown event in Angular

Nov 29 2018 8:06 AM
Hi All,
I have textbox, I want to call function only when escape key will press
  1. <input class="form-control" type="text" (keydown)="onKeydownEsc()" [(ngModel)]="company.companyName" />  

Answers (2)