title: How to pass a parameter to Vue @click event handler
body: <p>I am creating a table using Vue.js and I want to define an <code>onClick</code> event for each row that passes <code>contactID</code>. Here is the code: </p>
  
  <pre><code>&lt;tr v-for="item in items" class="static" 
      v-bind:class="{'evenRow': item.oddeven=='1', 'oddRow': item.oddeven=='0' }"
  @click="addToCount('{item.contactID}')"
  &gt;
      &lt;td&gt;{{item.contactName}}&lt;/td&gt;
      &lt;td&gt;{{item.recipient}}&lt;/td&gt;
  &lt;/tr&gt;   
  </code></pre>
  
  <p>On clicking a row, it is calling <code>addToCount()</code>, which is working. I want to pass <code>item.contactID</code> to <code>addToCount()</code>. Could someone suggest the correct syntax for this? </p>