ElectronBrowserWindow.setPosition method
ElectronBrowserWindow › setPosition
Unofficial
Moves the window tox and y. Signature:
setPosition(x: number, y: number, animate?: boolean | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| x | number | The x coordinate. |
| y | number | The y coordinate. |
| animate? | boolean | undefined | Whether to animate the transition. |
Returns: void