Change Frame Size with BX24.resizeWindow
Choose a tool for developing with an AI agent:
- use Alaio Vibecode to build an app for Bitrix24 from a task description without knowing any programming language. The agent writes the code and deploys the app to a server, with no manual hosting setup
- use the MCP server to develop a REST API integration in your own project. The agent refers to the official REST documentation
The method BX24.resizeWindow sends a command to change the size of the application frame based on the provided width and height.
void BX24.resizeWindow(Integer width, Integer height[, Function callback])
Parameters
Required parameters are marked with *
|
Name |
Description |
|
width* |
The width of the frame in pixels. The string |
|
height* |
The height of the frame in pixels. Inside the method, the value is parsed using |
|
callback |
The callback function that is executed after the resize command is sent |
Code Example
How to Use Examples in Documentation
BX24.init(function () {
BX24.resizeWindow(980, 700, function () {
console.log('Resize command sent');
});
});
Response Handling
The method does not return any data (void).