docs: Put webContents.session under Properties
This commit is contained in:
parent
611f87d17f
commit
1b464c82e1
1 changed files with 4 additions and 6 deletions
|
@ -225,12 +225,6 @@ The usage is the same with [the `login` event of `app`](app.md#event-login).
|
|||
|
||||
The `webContents` object has the following instance methods:
|
||||
|
||||
### `webContents.session`
|
||||
|
||||
Returns the `session` object used by this webContents.
|
||||
|
||||
See [session documentation](session.md) for this object's methods.
|
||||
|
||||
### `webContents.loadURL(url[, options])`
|
||||
|
||||
* `url` URL
|
||||
|
@ -705,6 +699,10 @@ win.webContents.on('did-finish-load', function() {
|
|||
|
||||
`WebContents` objects also have the following properties:
|
||||
|
||||
### `webContents.session`
|
||||
|
||||
Returns the [session](session.md) object used by this webContents.
|
||||
|
||||
### `webContents.devToolsWebContents`
|
||||
|
||||
Get the `WebContents` of DevTools for this `WebContents`.
|
||||
|
|
Loading…
Add table
Reference in a new issue