Is it possible to make html text selectable and buttons interactable? #3302
-
Hello there, This example uses I would like to, from this example, be able to:
It seems that Cytoscape mouse drag event takes over the button click event and the text drag. Has someone figured out how to make is work? I've tried to play with z-index without results. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@Tomansion You have a syntax error :-) <button onclick="alert('hello')">This is a button</button> |
Beta Was this translation helpful? Give feedback.
-
It's working indeed, thanks 🤦♂️ . |
Beta Was this translation helpful? Give feedback.
@Tomansion You have a syntax error :-)
It should be onclick instead of @click