Hello,
I want to apply a class dynamically depending on the variable content.
I am using the Dynamic Attribute and Class Toggle to do that.
This is the code that does not work:
<td dmx-text="version" dmx-class:classname="(version == '2.0') || (version == '3.0')"></td>
I think that the problem is because of the number 0.
If the zeroes are other numbers, it works.
Can you help me, please?
Community Page
Last updated:
Last updated: