vue-global-events icon indicating copy to clipboard operation
vue-global-events copied to clipboard

Add double tap key helper

Open mesqueeb opened this issue 6 years ago • 4 comments

I am building a web app and have all my keyboard shortcuts set with this package. Thank you so much. ❤️

One keyboard shortcut I would like to set is "double tap the a key" (or any other key)

I know it's currently not possible, but I'd love to have this feature in the near future!!! 🐬

mesqueeb avatar Mar 17 '19 10:03 mesqueeb

I think triple could also be useful This looks easy to do but it needs more thinking about conflicts with modifiers and stuff like that. Also, I don't want to bloat the library, this should be achieved with a helper function for event handlers and not that can be tree shaken

posva avatar Mar 17 '19 10:03 posva

That is indeed an interesting idea! I’m also all for having a helper function exposed separately.

shentao avatar Mar 17 '19 10:03 shentao

Is there any manual work-around you can advise for the time being? Thanks a lot!!

mesqueeb avatar Mar 22 '19 01:03 mesqueeb

Pretty much code the logic yourself 😄

posva avatar Mar 22 '19 07:03 posva