docs: Add options for web runtime features.

This commit is contained in:
Cheng Zhao 2014-09-09 11:14:44 +08:00
parent 8de90db429
commit f08c3f9134

View file

@ -80,6 +80,12 @@ normal browsers, see [Web Security](web-security.md) for more.
should use `__dirname` or `process.resourcesPath` to join the paths to should use `__dirname` or `process.resourcesPath` to join the paths to
make them absolute, using relative paths would make atom-shell search make them absolute, using relative paths would make atom-shell search
under current working directory. under current working directory.
* `experimental-features` Boolean
* `experimental-canvas-features` Boolean
* `subpixel-font-scaling` Boolean
* `overlay-scrollbars` Boolean
* `overlay-fullscreen-video` Boolean
* `shared-worker` Boolean
Creates a new `BrowserWindow` with native properties set by the `options`. Creates a new `BrowserWindow` with native properties set by the `options`.
Usually you only need to set the `width` and `height`, other properties will Usually you only need to set the `width` and `height`, other properties will