How to change colour in button

0
In add to favourite button ,how to do that it will change colour when i add the product in add to favouritr  then button colour changed  and also when i remove the product in add to favourite   it come back to it’s default colour? Pls kindly give some solution for this.
asked
1 answers
0

in my opinion you can do it with dynamic classes

https://docs.mendix.com/refguide/common-widget-properties/#dynamicclasses

answered