title: Vue: emitting from a child with data
body: <p>I have always passed data accompanying an emitted function in an object but is it bad practive to do it with just consecutive arguments?  I have my event, <code>clickMe</code>, then a string <code>activeName</code> and then 2 properties from the <code>v-for</code>.</p>
  <pre class="lang-js prettyprint-override"><code>&lt;Child v-for=&quot;x in notifications&quot; :key=&quot;x.name&quot;&gt;
    &lt;a
      @click=&quot;$emit('clickMe', 'activeName', x.name, x.isEnabled)&quot;
    &gt;
  &lt;/Child&gt;
  </code></pre>