fgr-araujo / vue-shortkey

Vue-ShortKey - The ultimate shortcut plugin to improve the UX
MIT License
884 stars 101 forks source link

Two number as short key is not working #111

Closed lustan3216 closed 4 years ago

lustan3216 commented 4 years ago
<i
  v-shortkey="['1', '2']"
  @shortkey="dosomething"
/>

This combination is not working, Is that possible to support that?

fgr-araujo commented 4 years ago

Combined keys is only supported when using ctrl, alt, shift and meta key. We are working on sequential key to support this.

alexbeeston commented 4 years ago

Has this been resolved yet? I need to be able to respond to two keys that aren't necessarily the ones listed above. It looks like this pull request may have done the trick, but it's not merged into master yet. https://github.com/iFgR/vue-shortkey/pull/119