Doc BrowserWindow.setContentBounds
This commit is contained in:
parent
7bca105e15
commit
01f95c149a
1 changed files with 12 additions and 0 deletions
|
@ -669,6 +669,18 @@ Resizes and moves the window to `width`, `height`, `x`, `y`.
|
||||||
|
|
||||||
Returns an object that contains window's width, height, x and y values.
|
Returns an object that contains window's width, height, x and y values.
|
||||||
|
|
||||||
|
#### `win.setContentBounds(options[, animate])`
|
||||||
|
|
||||||
|
* `options` Object
|
||||||
|
* `x` Integer
|
||||||
|
* `y` Integer
|
||||||
|
* `width` Integer
|
||||||
|
* `height` Integer
|
||||||
|
* `animate` Boolean (optional) _macOS_
|
||||||
|
|
||||||
|
Resizes and moves the window's client area (e.g. the web page) to
|
||||||
|
`width`, `height`, `x`, `y`.
|
||||||
|
|
||||||
#### `win.getContentBounds()`
|
#### `win.getContentBounds()`
|
||||||
|
|
||||||
Returns an object that contains the window's client area (e.g. the web page)
|
Returns an object that contains the window's client area (e.g. the web page)
|
||||||
|
|
Loading…
Reference in a new issue