diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index 716f79ac017d..22ad3a8c4fd2 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -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. +#### `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()` Returns an object that contains the window's client area (e.g. the web page)