Identifying/Getting selected contextmenu item in javascript

前端 未结 1 581
终归单人心
终归单人心 2020-12-21 08:16

I\'m just learning javascript right now, so please do try and explain with that detail in mind.

What I want to do is this exactly -- when a user right-clicks or uses

相关标签:
1条回答
  • 2020-12-21 08:46

    There is no way to read the context menu from JavaScript. The best you'll be able to do is to infer the user's selection by listening to other events. That could be messy.

    0 讨论(0)
提交回复
热议问题