App Connect Data Formatter Support Product Page

Answered

how to combine classes?

Asked 13 Jan 2018 12:59:01
1
has this question
13 Jan 2018 12:59:01 Greta Garberini posted:
Hi,

Usually one would write

<div class="badge badge-danger">Something</div>


In class-toggle, this does not work, though:

<div dmx-class:badge badge-danger="active == &quot;NO&quot;" </div>


Can you please enlighten us on how to write correctly dynamic attribute class-toggle?

Replies

Replied 13 Jan 2018 13:15:53
13 Jan 2018 13:15:53 Teodor Kuduschiev replied:
Hi Greta,
Just add multiple class toggle attributes, for the multiple classes:


Replied 14 Jan 2018 05:52:19
14 Jan 2018 05:52:19 Greta Garberini replied:
Cool,
Thanks for the quick answer

Reply to this topic