SyntaxFix
Write A Post
Hire A Developer
Questions
<form (keydown)="someMethod($event)"> <input type="text"> </form>
someMethod(event:any){ if(event.keyCode == 13){ alert('Entered Click Event!'); }else{ } }