Document BrowserWindow.getContentBounds()

This commit is contained in:
Kevin Sawicki 2016-07-29 09:44:39 -07:00
parent 79eee0fdf1
commit a868bffd73

View file

@ -669,6 +669,11 @@ 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.getContentBounds()`
Returns an object that contains the window's client area (e.g. the web page)
width, height, x and y values.
#### `win.setSize(width, height[, animate])` #### `win.setSize(width, height[, animate])`
* `width` Integer * `width` Integer