Skip to main content
Answered

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

  • August 9, 2020
  • 1 reply
  • 984 views

Forum|alt.badge.img+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?”

Best answer by Max Harper

@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>

 

 

View original
Was it helpful?

1 reply

Max Harper
Forum|alt.badge.img+6
  • Miro Hero
  • 373 replies
  • Answer
  • August 9, 2020

@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