Skip to main content
Question

Card widget fill color through the REST or web API's?

  • November 9, 2021
  • 2 replies
  • 81 views

we need that urgently

2 replies

Anthony Roux
Mironeer
Forum|alt.badge.img+1
  • Mironeer
  • 215 replies
  • November 9, 2021

Hi @Pratik Suthar,

 

We do not support fill color for the moment. You can define the backgroundColor with the Web SDK using:

 

await miro.board.widgets.create({type:'card', style: { backgroundColor: "#f24726"}})

 


Markus Smet
Forum|alt.badge.img+3
  • Miro Hero
  • 35 replies
  • November 10, 2021

Yup - this is what we use to sync the colour of Card widgets in CarbonCopy.