Mark silent/printBackground as optional

This commit is contained in:
Kevin Sawicki 2017-06-26 08:50:00 -07:00
parent 58a42682d8
commit 43f7e42bf7

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 `''`.