I'm looking for an example to change the fill color of a rectangle. For example, when changing a boolean from 0 to 1, the content of the rectangle should change from red to green. furthermore, the rectangle should be adaptable in size.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Created color box in dashboard | 1 | 1415 | 2 May 2019 | |
| Can I dynamically change the background color of a switch? | 2 | 1723 | 8 April 2019 | |
| Changing the color of the font awesome V5 or 6, possible? | 6 | 910 | 20 October 2021 | |
| Change color dynamically of dashboard menu and dashboard title | 10 | 7438 | 5 January 2021 | |
| Working with svg | 5 | 2944 | 18 January 2019 |