title: vuejs timer component restart/stop
body: <p>i have to setup a 10 min timer which redirects to homescreen. Furthermore it have to reset on every action (e.g. button press). I found this timer: <a href="https://github.com/fengyuanchen/vue-countdown" rel="nofollow noreferrer">https://github.com/fengyuanchen/vue-countdown</a> is it possible to restart it on a action?</p>
  
  <pre><code>&lt;countdown ref="countdown" @end="dosmth()" :time="time" :auto-start="false"&gt;
  &lt;template slot-scope="props"&gt;{{ props.seconds }}&lt;/template&gt;
  &lt;/countdown&gt;
  
  mounted() {
      this.$refs.countdown.start();
    },
  
  
  dosmth: function(){
            this.$refs.countdown.start();
          }
  </code></pre>
  
  <p>This should restart the timer but even this wont work:</p>
  
  <p>Basket.vue:378
  [Vue warn]: Error in event handler for "end": "InternalError: too much recursion"</p>
  
  <p>Maybe someone can help me out? </p>