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

Add mousetrap's global plugin please

Open RobinMalfait opened this issue 11 years ago • 3 comments

title says it all :)

RobinMalfait avatar Jul 19 '14 22:07 RobinMalfait

Do you mean as syntactic sugar for allowIn: ['INPUT', 'SELECT', 'TEXTAREA'] ?

chieffancypants avatar Jul 23 '14 03:07 chieffancypants

It means adding Mousetrap as regular bower dependency and not including it inside build/hotkeys.*.js So if other plugin uses Mousetrap, it is not included twice.

martinsznapka avatar Aug 29 '14 08:08 martinsznapka

@RobinMalfait: Do you mean including mousetraps's mousetrap/plugins/global-bind/mousetrap-global-bind.js plugin? If that is to be able to allow hotkeys in form elements, it is already possible: https://github.com/chieffancypants/angular-hotkeys#allowing-hotkeys-in-form-elements

motin avatar Aug 26 '15 11:08 motin