Merge pull request #9847 from timfish/patch-1

Fixes electron/electron-typescript-definitions/issues/63
This commit is contained in:
Kevin Sawicki 2017-06-26 08:50:49 -07:00 committed by GitHub
commit 3804bc5eb2
2 changed files with 4 additions and 4 deletions

View file

@ -932,8 +932,8 @@ Returns [`PrinterInfo[]`](structures/printer-info.md)
#### `contents.print([options])` #### `contents.print([options])`
* `options` Object (optional) * `options` Object (optional)
* `silent` Boolean - Don't ask user for print settings. Default is `false`. * `silent` Boolean (optional) - Don't ask user for print settings. Default is `false`.
* `printBackground` Boolean - Also prints the background color and image of * `printBackground` Boolean (optional) - Also prints the background color and image of
the web page. Default is `false`. the web page. Default is `false`.
* `deviceName` String (optional) - Set the printer device name to use. Default is `''`. * `deviceName` String (optional) - Set the printer device name to use. Default is `''`.

View file

@ -537,8 +537,8 @@ Stops any `findInPage` request for the `webview` with the provided `action`.
### `<webview>.print([options])` ### `<webview>.print([options])`
* `options` Object (optional) * `options` Object (optional)
* `silent` Boolean - Don't ask user for print settings. Default is `false`. * `silent` Boolean (optional) - Don't ask user for print settings. Default is `false`.
* `printBackground` Boolean - Also prints the background color and image of * `printBackground` Boolean (optional) - Also prints the background color and image of
the web page. Default is `false`. the web page. Default is `false`.
* `deviceName` String (optional) - Set the printer device name to use. Default is `''`. * `deviceName` String (optional) - Set the printer device name to use. Default is `''`.