title: Javascript firing canvas changing dimension
body: <p>Is there a possibility to fire when a canvas element dimension is changed?
  I tried but doesn't work.</p>
  
  <pre><code>canvas.addEventListener( 'resize', function canvasResize (){
  console.log("hello");
  }, false );
  </code></pre>