docs: document printToPDF
generateDocumentOutline
option (#41156)
* doc: document printToPDF generateDocumentOutline option * doc: ready event to whenReady
This commit is contained in:
parent
fc917985ae
commit
6786fde576
4 changed files with 20 additions and 13 deletions
|
@ -2039,7 +2039,9 @@ describe('webContents module', () => {
|
|||
pageRanges: { oops: 'im-not-the-right-key' },
|
||||
headerTemplate: [1, 2, 3],
|
||||
footerTemplate: [4, 5, 6],
|
||||
preferCSSPageSize: 'no'
|
||||
preferCSSPageSize: 'no',
|
||||
generateTaggedPDF: 'wtf',
|
||||
generateDocumentOutline: [7, 8, 9]
|
||||
};
|
||||
|
||||
await w.loadURL('data:text/html,<h1>Hello, World!</h1>');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue