title: How can i access to this.files on v-on?
body: <p>Hello I am trying to update a photo with a onchange event i can do that with the following code:</p>
  
  <pre><code>&lt;input type="file" accept="image/*" onchange="document.getElementById('i-logo').src = window.URL.createObjectURL(this.files[0]);"&gt; &lt;br /&gt;   
  </code></pre>
  
  <p>But when try to use v-on like this:</p>
  
  <pre><code>&lt;input type="file" accept="image/*" v-on:change="prepareLogo(files[0])"&gt; &lt;br /&gt;   
  
  prepareLogo: function(a) {
  
    console.log(a)
  </code></pre>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>"TypeError: Cannot read property 'files' of null"</p>
  </blockquote>
  
  <p>How can do this?</p>
  
  <p>Thanks</p>