Dynamic colors on the Mendix Counter Widget

0
It is possible to set static colors in the counter widget of Mendix. Does anyone know if it is also possible to adjust these colors dynamically?
asked
1 answers
0

Hi Pascal,

 

You can set the colors using the following properties,

To make this dynamic you would have to customize this widget a little like changing these property of the above from ype=”string” to type=”attribute” in the Counter.xml and updating the Counter.js accordingly. Hope this helps, if you are not able to customize it reach out to the dev or raise a request in Git

https://github.com/mendixlabs/Counter/tree/master/src/Counter

answered