Skip to main content
Answered

de-select widgets

  • November 26, 2020
  • 2 replies
  • 413 views

Sami Ljimari
Forum|alt.badge.img+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

Best answer by Viktor Razumov

Hi Sami,

 

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

View original
Was it helpful?

2 replies


Sami Ljimari
Forum|alt.badge.img+3
  • Author
  • Active Contributor
  • 38 replies
  • November 26, 2020
Viktor Razumov wrote:

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


Reply