Actual Height/Width on Window Maximize

When resizing a window I can retrieve height/width via win.getDimension, but if window is maximized, getMaxDimension returns [“auto”,“auto”]. This means that while I can dynamically adjust content when incrementally resizing I cannot do so when user does the “big bang” resizing. Are the actual H/W of the window available when isMaximized = true?

createWindow method returns html container of a window. Therefore, you may get its offsetWidth and offsetHeight properties;

var width = win.offsetWidth;
var height = win.offsetHeight;

Ahhh… the most obvious answer. Thanks for this one. I was able to very much simplify some maximize/minimize/resize logic as a result.