Is there a way to do this in jade? I've tried doing it several different ways but with no luck. I also couldn't find anything similar to this.
I tried
.animated.{{class}}
but it compiled to
<div class="animated">.{{class}}
instead of (desired)
<div class="animated {{class}}">
This should do for you:
.animated(class='{{class}}')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With