title: Condionally apply CSS to element in Aurelia
body: <p>I have an array of items and I want to apply style class to an element which has my customname.</p>
  
  <p>The style is not applying for any element. How can apply style based on condition?</p>
  
  <pre><code>var items =["one","two","three"];
  
  &lt;li repeat.for="item of items" class="${item == 'one'? 'someclass':''}"&gt;${item}&lt;/li&gt;
  </code></pre>