Merge pull request #2942 from arusakov/docs_update_0.33
Update docs v0.33
This commit is contained in:
commit
e5e4749eb3
1 changed files with 2 additions and 3 deletions
|
@ -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).
|
[EventEmitter](http://nodejs.org/api/events.html#events_class_events_eventemitter).
|
||||||
|
|
||||||
It creates a new `BrowserWindow` with native properties as set by the `options`.
|
It creates a new `BrowserWindow` with native properties as set by the `options`.
|
||||||
Properties `width` and `height` are required.
|
|
||||||
|
|
||||||
### `new BrowserWindow(options)`
|
### `new BrowserWindow(options)`
|
||||||
|
|
||||||
`options` Object, properties:
|
`options` Object, properties:
|
||||||
|
|
||||||
* `width` Integer (**required**) - Window's width.
|
* `width` Integer - Window's width.
|
||||||
* `height` Integer (**required**) - Window's height.
|
* `height` Integer - Window's height.
|
||||||
* `x` Integer - Window's left offset from screen.
|
* `x` Integer - Window's left offset from screen.
|
||||||
* `y` Integer - Window's top offset from screen.
|
* `y` Integer - Window's top offset from screen.
|
||||||
* `use-content-size` Boolean - The `width` and `height` would be used as web
|
* `use-content-size` Boolean - The `width` and `height` would be used as web
|
||||||
|
|
Loading…
Reference in a new issue