resizeWindow

function resizeWindow(
  width: number,
  height: number,
  minW: number,
  minH: number,
  maxW: number,
  maxH: number,
): void

Description

Defines the method used to change the window size updating the minimum/maximum sizes. This method is used for visual modal plugins only.

Parameters

widthnumber

The window width.

heightnumber

The window height.

minWnumber

The window minimum width.

minHnumber

The window minimum height.

maxWnumber

The window maximum width.

maxHnumber

The window maximum height.

Returns

void

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).