ElectronBrowserWindow.setContentSize method
ElectronBrowserWindow › setContentSize
Unofficial
Resizes the window's client area towidth and height. Signature:
setContentSize(width: number, height: number, animate?: boolean | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| width | number | The new width. |
| height | number | The new height. |
| animate? | boolean | undefined | Whether to animate the transition. |
Returns: void