title: Vue js, detect when a value changed to highlight its text
body: <p>I have this simple a script that generate random number every few moments, everytime <code>rand</code> is not equals to the one before i want to change its backgound-color. possible?
  So the random number generates 1,1,3 when it gets to 3 i want to hightlight the background. thanks</p>
  
  <p><a href="https://jsfiddle.net/keseyxgm/1/" rel="nofollow noreferrer">https://jsfiddle.net/keseyxgm/1/</a></p>
  
  <pre><code>new Vue({
    el: '#app',
    data: {
      rand: 0
    },
    mounted : function(){
     var me = this;
      setInterval(function(){
          me.rand = Math.floor(Math.random() * 4) + 1 ;
        me.$forceUpdate();
      },1000)
    }
  })
  
  
  &lt;div id="app"&gt;
    &lt;p&gt;{{rand}}&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>