What if you want your app to submit a form when you hit Ctrl-Enter or perform a search when you hit some other key combo? You can easily do that with the ember-keyboard addon.
Install the addon with
ember install ember-keyboard
Import the mixin into your component
Activate the keyboard listeners
Wire up your keyboard combo
You can see all the different key names over here.
Credits & Links
Some Love ❤❤❤
If you are enjoying my daily tips please spread the word with this one-click tweet.
If you do NOT like the tips then please reply to this email and let me know.