title: Vue.js prevent v-link
body: <p>I've got a table that looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/UTe8N.png" rel="nofollow"><img src="https://i.stack.imgur.com/UTe8N.png" alt="enter image description here"></a></p>
  
  <p>The code looks like this:</p>
  
  <pre><code>&lt;div class="Topic__item__body" v-for="topic in topics" v-link="{ name: 'Messages', params: { topic: topic.slug }}"&gt;
      &lt;div class="Topic__item__body_content"&gt;
          &lt;p class="Topic__title"&gt;{{ topic.name }}&lt;/p&gt;
      &lt;/div&gt;
  
      &lt;div class="Topic__item__body_content"&gt;
          &lt;p&gt;Berichten: 6&lt;/p&gt;
      &lt;/div&gt;
  
      &lt;div class="Topic__item__body_content"&gt;
          &lt;p&gt;Door: Name lastname&lt;/p&gt;
          &lt;i class="material-icons Hearth" @click="test"&gt;&amp;#xE87E;&lt;/i&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>So how can I make sure that when the user clicks on the material hearth icon, it does not link to <code>v-link="{ name: 'Messages', params: { topic: topic.slug }}"</code> but goes to the method <code>test</code>?</p>