title: Condition on value for style on Vue.js
body: <p>I'd like to check the value of my template</p>
  
  <pre><code>        &lt;template slot="projected_end_date" slot-scope="{ line }"&gt;
              &lt;datetime-display :value="line.projected_end_date"
                                type="date"
              style= "color: red"&gt;&lt;/datetime-display&gt;
           &lt;/template&gt;
  </code></pre>
  
  <p>and only set the style for red color when my value is less than current date. Any suggestion? I'm assuming it should be something like</p>
  
  <pre><code>value &gt; DateHelper.now()? style = ...
  </code></pre>