FAPI.UI.setWindowSize

Method signature

Resize application’s container iframe. For full-screen applications width parameter is ignored.

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.