]> khamidou — GitHub mirrors - electron.git/commitdiff
remove required width and height BrowserWindowOptions
authorAlexander Rusakov <a_s_rusakov@mail.ru>
Wed, 30 Sep 2015 14:13:20 +0000 (17:13 +0300)
committerAlexander Rusakov <a_s_rusakov@mail.ru>
Wed, 30 Sep 2015 14:13:20 +0000 (17:13 +0300)
docs/api/browser-window.md

index a1870bc66afd0cb23aeffcbeab08d45cb42a098f..c71cb610fc18756b17931e9c308813fe5b2470e2 100644 (file)
@@ -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