docs: fix doc linter warnings (#17818)
This commit is contained in:
parent
33fd20047c
commit
f901170a4f
4 changed files with 11 additions and 8 deletions
|
@ -1185,7 +1185,7 @@ that stores data of the snapshot. Omitting `rect` will capture the whole visible
|
|||
|
||||
* `rect` [Rectangle](structures/rectangle.md) (optional) - The area of the page to be captured.
|
||||
|
||||
* Returns `Promise<NativeImage>` - Resolves with a [NativeImage](native-image.md)
|
||||
Returns `Promise<NativeImage>` - Resolves with a [NativeImage](native-image.md)
|
||||
|
||||
Captures a snapshot of the page within `rect`. Omitting `rect` will capture the whole visible page.
|
||||
|
||||
|
@ -1249,7 +1249,7 @@ The `callback` will be called with `callback(error, data)` on completion. The
|
|||
* `printSelectionOnly` Boolean (optional) - Whether to print selection only.
|
||||
* `landscape` Boolean (optional) - `true` for landscape, `false` for portrait.
|
||||
|
||||
* Returns `Promise<Buffer>` - Resolves with the generated PDF data.
|
||||
Returns `Promise<Buffer>` - Resolves with the generated PDF data.
|
||||
|
||||
Prints window's web page as PDF with Chromium's preview printing custom
|
||||
settings.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue