Merge pull request #311 from SeriousM/patch-1
Documentation: Add more BrowserWindow methods
This commit is contained in:
commit
a5e49c0c6f
1 changed files with 8 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue