Skip to content

Instantly share code, notes, and snippets.

@jgwill
Created March 23, 2019 16:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgwill/7f0593bbbce226d1cbedf5552ea65df1 to your computer and use it in GitHub Desktop.
Save jgwill/7f0593bbbce226d1cbedf5552ea65df1 to your computer and use it in GitHub Desktop.
Angular 2 Input field Keydown binding references
<input (keydown.enter)="...">
<input (keydown.a)="...">
<input (keydown.esc)="...">
<input (keydown.shift.esc)="...">
<input (keydown.control)="...">
<input (keydown.alt)="...">
<input (keydown.meta)="...">
<input (keydown.9)="...">
<input (keydown.tab)="...">
<input (keydown.backspace)="...">
<input (keydown.arrowup)="...">
<input (keydown.shift.arrowdown)="...">
<input (keydown.shift.control.z)="...">
<input (keydown.f4)="...">
@jgwill
Copy link
Author

jgwill commented Mar 23, 2019

@stcgoal Map action on Keydown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment