Similar question of How can I set conditions on dynamic attribute?
<li><a dmx-bind:href="./{{params.permalink}}/{{params.eventsequencial}}/result/" dmx-class="">Result</a></li>
I would like to change this href part depending on the time condition.
for instance,
- now =< entrycutoff
<li><a dmx-bind:href="./{{params.permalink}}/{{params.eventsequencial}}/entry/" dmx-class="">Entry</a></li>
- eventstart =< now =< eventend
<li><a dmx-bind:href="./{{params.permalink}}/{{params.eventsequencial}}/event/" dmx-class="">Event</a></li>
- eventend<now
<li><a dmx-bind:href="./{{params.permalink}}/{{params.eventsequencial}}/result/" dmx-class="">Result</a></li>
I’ve already set this query, btw.
how can I set class toggle of dynamic attributes?
Community Page
Last updated:
Last updated: