title: How to write a button component in VueJS 2.0
body: <p>I am trying to write a button component. My question is: if I use <code>vm.$emit</code> to send a click event, I cannot inject <code>$event</code> and other parameters into the handler like native HTML element like this</p>
  
  <pre><code>&lt;button v-on:click="handler($event, 'other-parameter')" /&gt;
  </code></pre>
  
  <p>since the handler will only receive the argument passed into <code>vm.$emit</code>. One solution is to passing a function as props, but I would like the component works like a native HTML element. Could I do this? and HOW?</p>