Merge pull request #311 from SeriousM/patch-1

Documentation: Add more BrowserWindow methods
This commit is contained in:
Kevin Sawicki 2014-05-15 13:35:07 -07:00
commit a5e49c0c6f

View file

@ -353,6 +353,14 @@ process.
Same with `webContents.loadUrl(url)`.
### BrowserWindow.reload()
Reloads the current url.
### BrowserWindow.setMenu(menu)
Sets the `menu` as the window top menu.
## Class: WebContents
A `WebContents` is responsible for rendering and controlling a web page.