html-to-pdf-saver
v1.2.0
Published
HtmlToPdfSaver Capacitor Plugin
Downloads
3
Readme
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 }