Answered

de-select widgets

  • 26 November 2020
  • 2 replies
  • 396 views

Userlevel 2
Badge +3

Hi I was looking for a solution to de-select currently selected widgets on the whiteboard here https://developers.miro.com/docs/interface-iboardwidgetscommands but couldn’t find a solution. I’m using a widget attribute of clientVisible: false . After I overwrtite a widget with this attribute it becomes invisible on the whiteboard but still can be manipulated with as it stays selected hence even while in clientVisible : false state the user is able to move it around, I would like to perform a de-select method after the clientVisible change, so that the user would either have to make the widget visible again to move it around or not be able to move it while it is invisible

icon

Best answer by Viktor Razumov 26 November 2020, 16:00

View original

2 replies

Userlevel 1

Hi Sami,

 

I guess you’re looking for this: https://developers.miro.com/docs/interface-iboardselectioncommands#section-clear

Userlevel 2
Badge +3

Yes exactly, must have someohow missed it in the documentation, sorry. And thank you for your time and help

Reply