cibgraphics
2/28/2019 - 5:51 PM

Multiple Conditional Classes

mixin myMixin(cond1=false, cond2=false)
  - var cond1Class = cond1 == true ? ' class1' : ''
  - var cond2Class = cond2 == true ? ' class' : ''
  .container(class=cond1Class + cond2Class)