johndatserakis / vue-simple-context-menu

📌 Simple context-menu component built for Vue. Works well with both left and right clicks. Nothing too fancy, just works and is simple to use.

Home Page:https://johndatserakis.github.io/vue-simple-context-menu/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trigger showMenu event on text selection

bhuvan-ganesan opened this issue · comments

Hi

I am trying to find a way to add one more event to this lib
if a user select a text in div, can we trigger showMenu event

Thanks for the help

Hey there - sorry, I'm confused. What text, in what div are you referring to? The click event is already set up for the component. So if you want to add a click event to your own text, that sounds like something you can add on your side.

If you provide a code example I can perhaps help further.

Let me know if you still have questions on this, thanks.