Add documentation to web-contents.md.

This commit is contained in:
Andrew MacDonald 2017-11-08 09:35:01 -08:00
parent 51f6311f32
commit 00665b9501

View file

@ -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])`