Move reused object structures to a standard structures folder
This commit is contained in:
parent
4d7050553c
commit
03979936f3
14 changed files with 157 additions and 136 deletions
|
@ -247,14 +247,7 @@ Returns:
|
|||
* `event` Event
|
||||
* `url` URL
|
||||
* `error` String - The error code
|
||||
* `certificate` Object
|
||||
* `data` String - PEM encoded data
|
||||
* `issuerName` String - Issuer's Common Name
|
||||
* `subjectName` String - Subject's Common Name
|
||||
* `serialNumber` String - Hex value represented string
|
||||
* `validStart` Integer - Start date of the certificate being valid in seconds
|
||||
* `validExpiry` Integer - End date of the certificate being valid in seconds
|
||||
* `fingerprint` String - Fingerprint of the certificate
|
||||
* `certificate` [Certificate](structures/certificate.md)
|
||||
* `callback` Function
|
||||
|
||||
Emitted when failed to verify the `certificate` for `url`.
|
||||
|
@ -268,14 +261,7 @@ Returns:
|
|||
|
||||
* `event` Event
|
||||
* `url` URL
|
||||
* `certificateList` [Objects]
|
||||
* `data` String - PEM encoded data
|
||||
* `issuerName` String - Issuer's Common Name
|
||||
* `subjectName` String - Subject's Common Name
|
||||
* `serialNumber` String - Hex value represented string
|
||||
* `validStart` Integer - Start date of the certificate being valid in seconds
|
||||
* `validExpiry` Integer - End date of the certificate being valid in seconds
|
||||
* `fingerprint` String - Fingerprint of the certificate
|
||||
* `certificateList` Certificate[]
|
||||
* `callback` Function
|
||||
|
||||
Emitted when a client certificate is requested.
|
||||
|
@ -479,11 +465,7 @@ app.on('ready', () => {
|
|||
Returns:
|
||||
|
||||
* `event` Event
|
||||
* `dirtyRect` Object
|
||||
* `x` Integer - The x coordinate on the image.
|
||||
* `y` Integer - The y coordinate on the image.
|
||||
* `width` Integer - The width of the dirty area.
|
||||
* `height` Integer - The height of the dirty area.
|
||||
* `dirtyRect` [Bounds](structures/bounds.md)
|
||||
* `image` [NativeImage](native-image.md) - The image data of the whole frame.
|
||||
|
||||
Emitted when a new frame is generated. Only the dirty area is passed in the
|
||||
|
@ -521,7 +503,7 @@ webContents.loadURL('https://github.com', options)
|
|||
|
||||
#### `contents.downloadURL(url)`
|
||||
|
||||
* `url` URL
|
||||
* `url` String
|
||||
|
||||
Initiates a download of the resource at `url` without navigating. The
|
||||
`will-download` event of `session` will be triggered.
|
||||
|
@ -798,11 +780,7 @@ console.log(requestId)
|
|||
|
||||
#### `contents.capturePage([rect, ]callback)`
|
||||
|
||||
* `rect` Object (optional) - The area of the page to be captured
|
||||
* `x` Integer
|
||||
* `y` Integer
|
||||
* `width` Integer
|
||||
* `height` Integer
|
||||
* `rect` [Bounds](structures/bounds.md) (optional) - The area of the page to be captured
|
||||
* `callback` Function
|
||||
|
||||
Captures a snapshot of the page within `rect`. Upon completion `callback` will
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue