title: Emit event with parameters in vue
body: <p>i'm trying to emit function with parameters like that.</p>
  
  <pre><code>template: `
      &lt;div class="searchDropDown"&gt;
      &lt;div class="dropdown is-active"&gt;
      &lt;div class="dropdown-trigger"&gt;
        &lt;button class="button" aria-haspopup="true" aria-controls="dropdown-menu"&gt;
          &lt;span&gt;{{selectedItem}}&lt;/span&gt;
        &lt;/button&gt;
      &lt;/div&gt;
      &lt;div class="dropdown-menu" id="dropdown-menu" role="menu"&gt;
        &lt;div class="dropdown-content"&gt;
          &lt;a class="dropdown-item" v-for="item in drop" @click="$emit('select-menu-item($event)')"&gt;
            {{item.name}}
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
      &lt;/div&gt;
    `
  </code></pre>
  
  <p>here is the i'm trying to pass item to method like a parameter.</p>
  
  <p>here is my component which i try to emit function: </p>
  
  <pre><code>&lt;search-component v-bind="searchProps" @select-menu-item="selectedITem($event)"&gt;&lt;/search-component&gt;
  </code></pre>
  
  <p>and here is my method: </p>
  
  <pre><code>selectedITem(arg1) {
        console.log("cl")
        console.log(arg1)
      }
  </code></pre>
  
  <p>here is if i'm not trying to pass parameter everything well work so my method <strong>selectedITem</strong> is working. When i try to pass parameter like that nothing happened and i'm not getting some error.</p>