swisnl / jQuery-contextMenu

jQuery contextMenu plugin & polyfill
https://swisnl.github.io/jQuery-contextMenu/
MIT License
2.25k stars 744 forks source link

support for hotkey information #714

Open yesilcimenahmet opened 4 years ago

yesilcimenahmet commented 4 years ago

Hi,

Can you add hotkey information to menu item?

Best Regards.

bbrala commented 4 years ago

Good point, i kinda wonder what would be the best way though to visualize that.

yesilcimenahmet commented 4 years ago

Thanks for agreed. I needed this urgently and found a temporary solution.

I add the hotkey property to the menu objects and after the menu has been created I manipulate all the menu DOMs by navigating.

But I would appreciate if you add a local feature.

Image

yesilcimenahmet commented 3 years ago

Any improvement?

Risingson commented 3 years ago

image You could add "hotkey" key to item and display it css styled and aligned right like it is done commonly.