Skip to main content
let image = miro.board.widgets.create({type:'image', url: url, x: canvasX, y: canvasY})
let text = miro.board.widgets.create({type:'shape', x: canvasX, y: canvasY, text: "<strong>Title<br/><a href='https://www.google.com/'>Google url</a></strong>"})

miro.board.widgets.create({type:'frame', width: 300, height: 500, title: "Test", childrenIds: [image[0].id, text[0].id], style:{backgroundColor: "#ffffff"}})
}

Here is code snippet. This adds a frame and two elements to it. But frame and children don't belong each other. When i start dragging frame children stay static. Is there any way to make child elements nested to frame?

Hi Ilyas - We’re aware of this issue. There’s currently no way to programmatically make child elements nested to a frame. We have plans to fix this in the future. Stay tuned!

 


I have the same problem. Is there any other way to group widgets together programmatically?

 


Reply