react-diagrams icon indicating copy to clipboard operation
react-diagrams copied to clipboard

Question: Custom event when the canvas is clicked

Open thmsbkkr opened this issue 3 years ago • 0 comments

Hi everyone.

I'm looking for an event I can hook into that fires whenever the canvas is clicked but I can't find one. I've tried to listen to the following events without success. They do not respond when clicking the canvas.

  • nodesUpdated
  • linksUpdated
  • offsetUpdated
  • zoomUpdated
  • gridUpdated
  • selectionChanged
  • entityRemoved

First question: Is something available for this? If not how would I go about it implementing a custom event?

Thanks in advance!

Thomas.

thmsbkkr avatar Oct 11 '22 11:10 thmsbkkr