Questions tagged [angular-hotkeys]

3 questions
4
votes
3 answers

GlobalHotKeys(react-hotkeys) not working when focused on the input field

I am using React-hotkeys for the keyboard shortcuts on a React project. GlobalHotKeys not working when focused on the input field. Please help me, I am unable to find out what I am missing. Demo (Recorded Screen Link):…
3
votes
0 answers

Angular2: Shortcut keys using HostListener vs Mousetrap

I am working on an Angular2 project wherein I want to incorporate Shortcut keys for various functionalities. I am confused between two approaches. One is to create shortcuts by using HostListener as below : @HostListener('document:keydown',…
harsrawa
  • 422
  • 5
  • 18
0
votes
1 answer

Cheetsheet in Angular2-hotkeys not working

I am trying angular2-hotkeys library to provide hotkey functionality to my application. I have used the official documentation provided at https://www.npmjs.com/package/angular2-hotkeys as an example. As per the documentation, by using…
harsrawa
  • 422
  • 5
  • 18