fgr-araujo/vue-shortkey

trigger when specific element has focused

RezaErfani67 opened this issue · 1 comments

suppose i have two drop down...
i want if focus was on dropdown 1 , function1 run with Enter
if focus was on dropdown2, function2 run with Enter

It's more about architectural behavior than the shortkey feature.
Take a look on the example below:
https://codepen.io/FagnerAraujo/pen/byMYad