Address feedback

This commit is contained in:
Ben Gotow 2015-11-19 10:04:28 -08:00
parent d427ae1030
commit 65c823407d

View file

@ -68,12 +68,14 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
* `transparent` Boolean - Makes the window [transparent](frameless-window.md).
* `type` String - Specifies the type of the window, which applies
additional platform-specific properties.
- On Linux, possible types are `desktop`, `dock`, `toolbar`, `splash`, `notification`.
- On Mac OS X:
- `textured`: Adds metal gradient appearance (NSTexturedBackgroundWindowMask)
- `desktop`: Places the window at the desktop background window level (kCGDesktopWindowLevel - 1).
Note that the window will not receive focus, keyboard or mouse events, but
you can use `globalShortcut` to receive input sparingly.
* On Linux, possible types are `desktop`, `dock`, `toolbar`, `splash`,
`notification`.
* On OS X, possible types are `desktop`, `textured`. The `textured` type adds
metal gradient appearance (NSTexturedBackgroundWindowMask). The `desktop`
type places the window at the desktop background window level
(kCGDesktopWindowLevel - 1). Note that desktop window will not receive focus,
keyboard or mouse events, but you can use `globalShortcut` to receive input
sparingly.
* `titleBarStyle` String, OS X - specifies the style of window title bar.
This option is supported on OS X 10.10 Yosemite and newer. There are three
possible values: