Function: exportAndDownloadSlidesToPDF()
exportAndDownloadSlidesToPDF(
source,filename,options?):Promise<void>
Defined in: src/export/SlideDeckExporter.ts:240
Export a slide deck to a PDF and download it in the browser.
Degrades without throwing: when no document is available (worker, headless,
SSR) it logs a warning and returns. An empty deck is a no-op (no download).
Parameters
source
The slide source (a Player works directly)
filename
string = 'slides.pdf'
The download filename. Defaults to 'slides.pdf'.
options?
Export options
Returns
Promise<void>