can I get the events of the elements inside the canvas using the SDK?

  • 18 May 2022
  • 1 reply
  • 80 views

Badge

Hi,

I have my own web site with an embedded Miro live board.

Can I get the events from the elements inside the canvas using the SDK2.0?

I mean, is there a way to listen for instance a click event done on a card inside the canvas board? I’d like to add more features needed in my application after clicking on some elements inside the canvas.

 

Thanks in advance.

Regards,

Juanfra


1 reply

Userlevel 5

Hi @Juanfra ! 

We do have a method via the WebSDK that will fire upon selection updates. You can find the docs here! https://developers.miro.com/docs/ui_boardui#selectionupdate-event

 

 

Reply