Merge branch 'bg-color-pr' of https://github.com/evgenyzinoviev/electron
This commit is contained in:
commit
7761815339
3 changed files with 8 additions and 7 deletions
|
@ -83,8 +83,9 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
|
|||
* `enableLargerThanScreen` Boolean - Enable the window to be resized larger
|
||||
than screen. Default is `false`.
|
||||
* `backgroundColor` String - Window's background color as Hexadecimal value,
|
||||
like `#66CD00` or `#FFF`. Default is `#000` (black) for Linux and Windows,
|
||||
`#FFF` for Mac (or clear if transparent).
|
||||
like `#66CD00` or `#FFF` or `#80FFFFFF` (alpha is supported). Default is
|
||||
`#000` (black) for Linux and Windows, `#FFF` for Mac (or clear if
|
||||
transparent).
|
||||
* `hasShadow` Boolean - Whether window should have a shadow. This is only
|
||||
implemented on OS X. Default is `true`.
|
||||
* `darkTheme` Boolean - Forces using dark theme for the window, only works on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue