This commit is contained in:
Cheng Zhao 2016-01-24 21:33:53 +08:00
commit 7761815339
3 changed files with 8 additions and 7 deletions

View file

@ -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