Documentation

BX24.fitWindow

void BX24.fitWindow([Function callback])

Changes the width and height of an application frame so that it fits the frame contents.

Due to browser restrictions, the method cannot reduce the frame size. Use the following technique to set the frame size precisely:

  • enclose the application in a container;
  • calculate the container extent;
  • set the frame size accordingly using BX24.resizeWindow.

See Also:



© «Bitrix24», 2001-2024
Up