fgr-araujo / vue-shortkey

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

Can't seem to be able to get a shortkey for question mark working #116

Open kalenjordan opened 4 years ago

kalenjordan commented 4 years ago

I've tried all of these - none seem to work.

v-shortkey="['shift', '/']"
v-shortkey="['shift', '?']"
v-shortkey="['?']"

Other shift combinations do work for me just fine, for example v-shortkey="['shift', 'a']" for a capital A.

WhatWhatz commented 4 years ago

You will find all the usable keys in the readme under the Key list table. The question mark is not in the table and therefore not supported. Again you can only use the supported keys.

paulrosen commented 4 years ago

I use the second form and it did work for me. The exact line is:

<button v-shortkey="['shift', '?']" @shortkey="setShortcutsDlgVisible(true)"></button>
kolaente commented 3 years ago

Any chance this is added? Would you accept a PR?