Skip to main content

I've looked around  the references and know to customize a lot of things like adding logos and such, but still aren’t sure if I can change the height and width or add tags to the cards via web SDK

 

If there is a page somewhere I can look at to figure out the details of the card object creation?

Currently cards have fixed width and height, but you can change scale, which represents overall size of the card.

Here’s typing file with SDK methods, including what fields are available for widgets: https://github.com/miroapp/app-examples/blob/0bf428b6deb840b520112681b64a9e7fa533ecf1/miro.d.ts#L628


Sorry for the late response, thats helps a lot! thankyou,


@Boris Borodyansky Can I extend ICardWidget for adding custom fields?


Currently cards have fixed width and height, but you can change scale, which represents overall size of the card.

Here’s typing file with SDK methods, including what fields are available for widgets: https://github.com/miroapp/app-examples/blob/0bf428b6deb840b520112681b64a9e7fa533ecf1/miro.d.ts#L628

Hi @Boris Borodyansky ,

I am trying to create cards with a height and width specify in the board with a application REST API but i can´t and i receive this response "Only height or width should be passed for widgets with fixed aspect ratio" but i can´t achive how i can do it.

thanks in advance.


Reply