title: How to send parameters inside Vue's v-for to a function?
body: <p>How to pass as a parameter <code>{{ item.id }}</code> to my function <code>productos.mostrarModal()</code> in a <code>v-for</code> loop in vue.js?</p>
  
  <pre><code>&lt;div v-for="item of articulos"&gt;
      &lt;a href="#" onclick="productos.mostrarModal()"  &gt;
          &lt;h2&gt;{{item.name}}&lt;/h2&gt;
          &lt;i&gt;&lt;h5&gt;{{item.marca}}&lt;/h5&gt;&lt;/i&gt;
          &lt;img :src="item.picture" /&gt;
      &lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Which other tag could I use instead or with the div? Thanks.</p>