title: Vuejs call method from href tag
body: <p>I get this error when I try to call a method from a property:</p>
  
  <blockquote>
    <p>_vm.url is not a function</p>
  </blockquote>
  
  <p>when i try to call a function</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;a :href="url(item)" class="link"&gt;
      {{ item.label }}
  &lt;/a&gt;
  </code></pre>
  
  <pre class="lang-js prettyprint-override"><code>method: {
      url: function(item) {
          console.log(item)
      }
  }
  </code></pre>
  
  <p>What am I doing wrong?  </p>