title: remove event listener in vue
body: <p>i need to remove the event listener. i'm calling to some method from the function executed within the event listener, so i need to use to es6 syntax. i couldn't use named functions. how can i remove the event listener</p>
  
  <pre><code>methods :
      initCanvas : function(x, y, width, height) {
          //do something
      },
      some_method : function() {
          let svgObjectEl = // some logic will give the object elemenet embedding the svg
          svgObjectEl.addEventListener('load', () =&gt; {
              //let x,y,width, height has some value
              // some code here
              this.initCanvas(x, y, width, height);         
          });   
          svgObjectEl.removeEventListener('load', ??);
  }
  </code></pre>