Miro Web SDK 2.0: ⚠ breaking change! ⚠
When creating or updating images, you can set either
width; not both.
Miro Web SDK 2.0 Images: on creation and update, you can only set either
We introduced a number of changes to improve support for board items, and to make Miro Web SDK 2.0 functionality more consistent.
The following table lists the changes related to item resizing.
Update your code for the relevant items, where necessary, so that they can keep working as expected.
|Item||Miro Web SDK 2.0|
|Image||⚠ This is a breaking change for image items that use the Miro Web SDK 2.0 ⚠|
When creating or resizing an image item, you can set:
Scale is based on the specified width or height, and on the dimensions of the original image, as returned by the resource service.