Open this page in the API Guide

ChangeLayerActionDialog.onResize Method

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