savePDF

Saves the content of a DOM element to a PDF file.

Parameters

domElement HTMLElement

The root DOM element to save to a PDF file.

options PDFExportProps

The export options.

callback? () => void

The callback to be executed after the PDF is saved.