Open 13133693731 opened 2 months ago
It has been a while since i worked on this ( and i mainly just fixed a few things to make it work in vue 3 Just to I better understand, do you want to prevent the keyboard combination to be sent to the element with focus or do you want to prevent the button's main action to also fire ?
When I use it, it triggers the browser default event, just like pressing F5 will refresh the page. I want to prevent it from refreshing the page
Thanks
I use vue2
I see the original repo is update for vue3 support as well. But either way, you could try asking there https://github.com/fgr-araujo/vue-shortkey
Thanks
how to use it with stop preventDefault?