mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Address feedback
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user