Is it impossible to select the widgets on SDK V2?

  • 9 August 2022
  • 3 replies
  • 37 views

Badge +2

Hi everyone

I noticed that it’s impossible to use miro.board.selection.selectWidgets() on Web SDK v2.

How can I select the widgets on Web SDK v2.

Please let me know your thought.

Thank you

 


3 replies

Userlevel 5

Hi Maxim,

We don’t currently have a way to set the selection in V2 - We do have options to get items by id (https://developers.miro.com/docs/board_board#getbyid), and then you could potentially Zoom or Set the viewport to the widget you want? 

https://developers.miro.com/docs/viewport_viewport#zoomto 

Badge +2

Hi @Addison Schultz 

Could you tell me why it isn’t available to select the widget on SDK 2.0?

I think it’s necessary for developers.

 

Userlevel 5

Hey Maxim - I’ve just added this to our list / feature requests for our team to look into. We’d have to do some discovery on this feature in V2, but I’ve added to the backlog for the team.

Reply