Skip to content

Commit 3243592

Browse files
committed
headerString support in print options
For nwjs#5702 This commit is docs only. The real implementation is in the chromium repo
1 parent 2791802 commit 3243592

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/References/Window.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ Print the web contents in the window with or without the need for user's interac
309309
* `marginsType` `{Integer}` 0 - Default; 1 - No margins; 2 - minimum; 3 - Custom, see `marginsCustom`.
310310
* `marginsCustom` `{JSON Object}` the custom margin setting; units are points.
311311
* `copies` `{Integer}` the number of copies to print.
312+
* `headerString` `{String}` string to replace the URL in the header.
312313
* `footerString` `{String}` string to replace the URL in the footer.
313314

314315
`marginsCustom` example: `"marginsCustom":{"marginBottom":54,"marginLeft":70,"marginRight":28,"marginTop":32}`

0 commit comments

Comments
 (0)