Address feedback
This commit is contained in:
parent
d427ae1030
commit
65c823407d
1 changed files with 8 additions and 6 deletions
|
@ -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).
|
* `transparent` Boolean - Makes the window [transparent](frameless-window.md).
|
||||||
* `type` String - Specifies the type of the window, which applies
|
* `type` String - Specifies the type of the window, which applies
|
||||||
additional platform-specific properties.
|
additional platform-specific properties.
|
||||||
- On Linux, possible types are `desktop`, `dock`, `toolbar`, `splash`, `notification`.
|
* On Linux, possible types are `desktop`, `dock`, `toolbar`, `splash`,
|
||||||
- On Mac OS X:
|
`notification`.
|
||||||
- `textured`: Adds metal gradient appearance (NSTexturedBackgroundWindowMask)
|
* On OS X, possible types are `desktop`, `textured`. The `textured` type adds
|
||||||
- `desktop`: Places the window at the desktop background window level (kCGDesktopWindowLevel - 1).
|
metal gradient appearance (NSTexturedBackgroundWindowMask). The `desktop`
|
||||||
Note that the window will not receive focus, keyboard or mouse events, but
|
type places the window at the desktop background window level
|
||||||
you can use `globalShortcut` to receive input sparingly.
|
(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.
|
* `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
|
This option is supported on OS X 10.10 Yosemite and newer. There are three
|
||||||
possible values:
|
possible values:
|
||||||
|
|
Loading…
Reference in a new issue