inRange in Class Toggle?

I’m trying to use .inRange in a class toggle.

This works

<td dmx-text="qty_250" dmx-class:green="qty_250>200"></td>

This doesn’t

<td dmx-text="qty_250" dmx-class:green="qty_250.inRange(200, 300)"></td>

Am I doing something wrong?

Thanks.

Community Page
Last updated: