backgroundColor comes out as empty string and doesn't change on screen when I set its value

后端 未结 0 1579
陌清茗
陌清茗 2021-02-09 01:14

I am using a library called Colorthief that can return the dominant color of an image. I use this function to set the background color of three buttons, like this:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题