Document the new method.
This commit is contained in:
parent
c311c6cf1b
commit
5839df66e4
1 changed files with 7 additions and 0 deletions
|
@ -242,6 +242,13 @@ const options = {"extraHeaders" : "pragma: no-cache\n"}
|
||||||
webContents.loadURL(url, options)
|
webContents.loadURL(url, options)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### `webContents.downloadURL(url)`
|
||||||
|
|
||||||
|
* `url` URL
|
||||||
|
|
||||||
|
Initiates a download of the resource at `url` without navigating. The
|
||||||
|
`will-download` event of `session` will be triggered.
|
||||||
|
|
||||||
### `webContents.getURL()`
|
### `webContents.getURL()`
|
||||||
|
|
||||||
Returns URL of the current web page.
|
Returns URL of the current web page.
|
||||||
|
|
Loading…
Reference in a new issue