From: Alexander Rusakov Date: Wed, 30 Sep 2015 14:13:20 +0000 (+0300) Subject: remove required width and height BrowserWindowOptions X-Git-Tag: v0.33.4~6^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d5f81357b60092edee2694975cb646651f695220;p=electron.git remove required width and height BrowserWindowOptions --- diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index a1870bc6..c71cb610 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -24,14 +24,13 @@ You can also create a window without chrome by using [EventEmitter](http://nodejs.org/api/events.html#events_class_events_eventemitter). It creates a new `BrowserWindow` with native properties as set by the `options`. -Properties `width` and `height` are required. ### `new BrowserWindow(options)` `options` Object, properties: -* `width` Integer (**required**) - Window's width. -* `height` Integer (**required**) - Window's height. +* `width` Integer - Window's width. +* `height` Integer - Window's height. * `x` Integer - Window's left offset from screen. * `y` Integer - Window's top offset from screen. * `use-content-size` Boolean - The `width` and `height` would be used as web