doc: Document frameless window.

This commit is contained in:
Cheng Zhao
2013-09-09 14:52:46 +08:00
parent cc62978ac3
commit 8caf5fac06
2 changed files with 68 additions and 0 deletions

View File

@@ -15,6 +15,10 @@ win.loadUrl('https://github.com');
win.show();
```
You can also create a window without chrome by using
[Frameless Window](frameless-window.md) API.
**Note:** Be careful not to use `window` as the variable name.
## Class: BrowserWindow
@@ -38,6 +42,8 @@ win.show();
* `kiosk` Boolean - The kiosk mode
* `title` String - Default window title
* `show` Boolean - Whether window should be shown when created
* `frame` Boolean - Specify `false` to create a
[Frameless Window](frameless-window.md)
Creates a new `BrowserWindow` with native properties set by the `options`.
Usually you only need to set the `width` and `height`, other properties will