leastbad/stimulus-shortcut

Prevent the browsers default action

jfr opened this issue · 0 comments

jfr commented

Great library, thx! Is there a way to trigger
event.preventDefault()
in hotkey.js with an argument to the stimulus controller, or do I have to do that manually?