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

  • 9 November 2021
  • 2 replies
  • 61 views

we need that urgently


2 replies

Userlevel 5
Badge +1

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"}})

 

Userlevel 4
Badge +3

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

Reply