Answered

Is there a way to set the "z-index" equivalent when creating objects with the api?

  • 9 August 2020
  • 1 reply
  • 898 views

Userlevel 1
Badge +2

I’m making objects and some of them go under some objects that I want to be in the background, is there a way to set the, in CSS terms z-index, putting some objects “backwards?”

icon

Best answer by Max Harper 9 August 2020, 16:55

View original

1 reply

Userlevel 7
Badge +5

@saifis 
Yes.  Use bringForward() or sendBackward()    

 

Cheers!! 

 

https://github.com/miroapp/app-examples/blob/master/miro.d.ts

 

bringForward(widgetId: InputWidgets): Promise<void>

sendBackward(widgetId: InputWidgets): Promise<void>

 

 

Reply