Merge pull request #9847 from timfish/patch-1
Fixes electron/electron-typescript-definitions/issues/63
This commit is contained in:
commit
3804bc5eb2
2 changed files with 4 additions and 4 deletions
|
@ -932,8 +932,8 @@ Returns [`PrinterInfo[]`](structures/printer-info.md)
|
|||
#### `contents.print([options])`
|
||||
|
||||
* `options` Object (optional)
|
||||
* `silent` Boolean - Don't ask user for print settings. Default is `false`.
|
||||
* `printBackground` Boolean - Also prints the background color and image of
|
||||
* `silent` Boolean (optional) - Don't ask user for print settings. Default is `false`.
|
||||
* `printBackground` Boolean (optional) - Also prints the background color and image of
|
||||
the web page. Default is `false`.
|
||||
* `deviceName` String (optional) - Set the printer device name to use. Default is `''`.
|
||||
|
||||
|
|
|
@ -537,8 +537,8 @@ Stops any `findInPage` request for the `webview` with the provided `action`.
|
|||
### `<webview>.print([options])`
|
||||
|
||||
* `options` Object (optional)
|
||||
* `silent` Boolean - Don't ask user for print settings. Default is `false`.
|
||||
* `printBackground` Boolean - Also prints the background color and image of
|
||||
* `silent` Boolean (optional) - Don't ask user for print settings. Default is `false`.
|
||||
* `printBackground` Boolean (optional) - Also prints the background color and image of
|
||||
the web page. Default is `false`.
|
||||
* `deviceName` String (optional) - Set the printer device name to use. Default is `''`.
|
||||
|
||||
|
|
Loading…
Reference in a new issue