docs: "type" option of BrowserWindow

This commit is contained in:
Cheng Zhao 2015-02-11 12:15:51 +08:00
parent f0924df68a
commit 382a00493b

View file

@ -68,6 +68,9 @@ You can also create a window without chrome by using
no matter whether node integration is turned on for the window, and the path no matter whether node integration is turned on for the window, and the path
of `preload` script has to be absolute path. of `preload` script has to be absolute path.
* `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, possible types are
`desktop`, `dock`, `toolbar`, `splash`, `notification`. This only works on
Linux.
* `web-preferences` Object - Settings of web page's features * `web-preferences` Object - Settings of web page's features
* `javascript` Boolean * `javascript` Boolean
* `web-security` Boolean * `web-security` Boolean