FAPI.UI.setWindowSize

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

Restrictions:

  • width: 100 - 760
  • height: 100 - 4000

Example

function setWindowSize(width, height){
    if ((width >= 100) && (width <= 760) && (height >= 100) && (height <= 4000)) {
        FAPI.UI.setWindowSize(width, height);
    } else {
        alert("Invalid window size!");
    }
}