Skip to main content

Is it possible to capture a click event on an item such as a shape using Web SDK

  • September 21, 2023
  • 3 replies
  • 129 views

Forum|alt.badge.img+2
  • Beginner
  • 7 replies

We would like to capture a click event, on a shape/object, similarly to how the card expand button works.

 

 

Was it helpful?

3 replies

William Bishop
Mironeer
Forum|alt.badge.img+4

Hey @Elad,

Thanks for raising this, it’s a great suggestion to support a click event like this. While we don't have an event listener for just a single click on an item or the board like this, one potential workaround you could consider leveraging is the getSelection() method. It allows you to listen for a selection of an item or items on the board:

getSelection()

That said, I realize it’s not exactly the same. It’s excellent feedback, and happy to share this with the team.


Forum|alt.badge.img+1

This is a much needed functionality to build interactive widgets :/ ​@William Bishop Any updates on this?


William Bishop
Mironeer
Forum|alt.badge.img+4

Hey Hassan,

Thanks for elevating this request for supporting click events in the Web SDK. I’ve captured this feedback and will surface this to our product teams for further consideration. We do want to better support client-side events like this for the Web SDK, and I can definitely appreciate the request.

Please keep an eye on our changelog for future updates, and we’ll be happy to share any updates in this area as soon as we have them.


Reply