mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Add documentation to web-contents.md.
This commit is contained in:
@@ -591,6 +591,18 @@ Returns:
|
||||
|
||||
Emitted when a `<webview>` has been attached to this web contents.
|
||||
|
||||
### Event: 'console-message'
|
||||
|
||||
Returns:
|
||||
|
||||
* `level` Integer
|
||||
* `message` String
|
||||
* `line` Integer
|
||||
* `sourceId` String
|
||||
|
||||
Emitted when the associated window logs a console message. Will not be emitted
|
||||
for windows with *offscreen rendering* enabled.
|
||||
|
||||
### Instance Methods
|
||||
|
||||
#### `contents.loadURL(url[, options])`
|
||||
|
||||
Reference in New Issue
Block a user