title: Knockout if else Statement
body: <p>I've a graph chart like below made using css and knockout.js (binding)</p>
  
  <p>Depending on the value of the data, I need to size the height of the bars by selecting different css classes.</p>
  
  <p>I've tried to use the knockout if statement below:</p>
  
  <pre><code>The &lt;!-- ko --&gt; and &lt;!-- /ko --&gt; 
  </code></pre>
  
  <p>However, this doesn't meet my requirement as I need  something like below:</p>
  
  <pre><code>     &lt;ul data-bind="foreach: ArrayData"&gt;
        &lt;!-- ko if: value &gt;= 300 and value &lt;=250 --&gt;
              &lt;li class="height300Css"&gt;
          &lt;!-- /ko --&gt;
         &lt;!-- ko if: value &gt;= 200 and value &lt;=300 --&gt;
              &lt;li class="height200Css"&gt;
          &lt;!-- /ko --&gt;
      &lt;/ul&gt;
  </code></pre>
  
  <p>Could someone suggest any alternatives?</p>
  
  <p>Thanks.</p>