docs: fix doc linter warnings (#17818)

This commit is contained in:
Samuel Attard 2019-04-16 19:03:17 -04:00 committed by GitHub
parent 33fd20047c
commit f901170a4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 8 deletions

View file

@ -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.