Method signature
Resize application’s container iframe. Width parameter is ignored for all applications.
FAPI.UI.setWindowSize(width, height);
- width - container iframe width (100-760)
- height - container iframe height (100-4000)
Example usage
function setWindowSize(width, height){
if ((width >= 100) && (width <= 760) && (height >= 100) && (height <= 4000)) {
FAPI.UI.setWindowSize(width, height);
} else {
alert("Invalid window size!");
}
}
Callback example
Client callback is not supported for this method.