1.2.0 • Published 11 months ago
html-to-pdf-saver v1.2.0
html-to-pdf-saver
HtmlToPdfSaver Capacitor Plugin
Install
npm install html-to-pdf-saver
npx cap sync
API
printWebPage(...)
printWebPage(options: PrinterOptions) => Promise<PrinterResponse>
Param | Type |
---|---|
options | PrinterOptions |
Returns: Promise<PrinterResponse>
printWebPageUsingSilentPrinter(...)
printWebPageUsingSilentPrinter(options: PrinterOptions) => Promise<PrinterResponse>
Param | Type |
---|---|
options | PrinterOptions |
Returns: Promise<PrinterResponse>
Type Aliases
PrinterResponse
{ ok: boolean }
PrinterOptions
{ content: string; isHtml: boolean }