title: JavaScript event for canvas resize
body: <p>It appears that altering the dimensions of a canvas clears any drawing already done on that canvas.</p>
  
  <p>Is there an event that fires on canvas resize, so I can hook it and redraw when it occurs?</p>