The following code examples show how to call the autogrow method to resize a canvas app. Use this method when your
content will change size, but you’re not sure when.
In Mozilla® Firefox® and Microsoft® Internet Explorer®, the
autogrow method might not resize the frame
if the content size is reduced. In this case, you can use the resize method to specify the exact size that you
want to change the frame to.