title: Call parent method with component
body: <p>I have a component and want to add a click listener that runs a method in the parent template in Vue. Is this possible?</p>
  
  <pre><code>&lt;template&gt;
      &lt;custom-element @click="someMethod"&gt;&lt;/custom-element&gt;
  &lt;/template&gt;
  
  &lt;script&gt;
      export default {
          name: 'template',
          methods: {
              someMethod: function() {
                  console.log(true);
          }
      }
  &lt;/script&gt;
  </code></pre>