mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
Mark silent/printBackground as optional
This commit is contained in:
@@ -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 `''`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user