angular-hotkeys icon indicating copy to clipboard operation
angular-hotkeys copied to clipboard

added support to define classNames in allowIn

Open djusv opened this issue 9 years ago • 2 comments

I needed this for a particular case and I thought I would share my code.

djusv avatar Feb 18 '16 08:02 djusv

What is the particular case?

chieffancypants avatar Feb 18 '16 23:02 chieffancypants

I had 2 input element visible on 1 page = 1-search-input, 2-textbox-message-input.

I didn't want the hotkey-action to be called when the user was typing in input#1 but the hotkey-action should be triggered when the user had focus on input#2 triggered the combo.

djusv avatar Feb 19 '16 18:02 djusv