title: how to get the component instance within an @click event?
body: <p>I have a button in a Vue component</p>
  
  <pre><code>&lt;el-button class='range-right' @click='deleteItem(item)'&gt;delete&lt;/el-button&gt;
  </code></pre>
  
  <p>within it's handler I want to invoke other methods of the component.
  however, even though I can call <code>deleteItem</code> which is itself a component method, I cannot get at the actual component for other methods.</p>
  
  <p>is there a way to pass something like a <code>$component</code> param to the <code>@click</code> event?</p>
  
  <pre><code>methods {
    deleteItem: (item, obj) =&gt; {
      let api = '/api/train/deleteItem?_id=' + item._id
      let resource = Vue.resource(api)
      let vm = this  // NOT a component
      window.delItem = this
      console.log('deleteItem.this', this)
      resource.delete(api)
      .then(items =&gt; {
        console.log('deleted')
        vm.methods.load() //&lt;&lt; fails
      })
    },
  </code></pre>