Open this page in the API Guide

DefaultViewDialog.onResize Method

This method should be called when the window re-sizes.