mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
docs: document printToPDF generateDocumentOutline option (#41167)
* doc: document printToPDF generateDocumentOutline option Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * doc: ready event to whenReady Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
@@ -2034,7 +2034,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>');
|
||||
|
||||
Reference in New Issue
Block a user