docs: Explain console-message parameters (#23661)
This commit is contained in:
parent
f373cc770f
commit
82924679fe
3 changed files with 7 additions and 7 deletions
|
@ -737,9 +737,9 @@ Emitted when a `<webview>` has been attached to this web contents.
|
||||||
Returns:
|
Returns:
|
||||||
|
|
||||||
* `event` Event
|
* `event` Event
|
||||||
* `level` Integer
|
* `level` Integer - The log level, from 0 to 3. In order it matches `verbose`, `info`, `warning` and `error`.
|
||||||
* `message` String
|
* `message` String - The actual console message
|
||||||
* `line` Integer
|
* `line` Integer - The line number of the source that triggered this console message
|
||||||
* `sourceId` String
|
* `sourceId` String
|
||||||
|
|
||||||
Emitted when the associated window logs a console message.
|
Emitted when the associated window logs a console message.
|
||||||
|
|
|
@ -755,9 +755,9 @@ Fired when page leaves fullscreen triggered by HTML API.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
|
||||||
* `level` Integer
|
* `level` Integer - The log level, from 0 to 3. In order it matches `verbose`, `info`, `warning` and `error`.
|
||||||
* `message` String
|
* `message` String - The actual console message
|
||||||
* `line` Integer
|
* `line` Integer - The line number of the source that triggered this console message
|
||||||
* `sourceId` String
|
* `sourceId` String
|
||||||
|
|
||||||
Fired when the guest window logs a console message.
|
Fired when the guest window logs a console message.
|
||||||
|
|
Loading…
Reference in a new issue