UNPKG

jspdf-html2canvas

Version:

A combine usage with jsPDF and html2canvas, which translating html content to PDF file.

5 lines (4 loc) 198 B
import { jsPDF } from 'jspdf'; import type { Options } from './types'; declare function html2PDF(dom: HTMLElement | HTMLElement[], opts?: Partial<Options>): Promise<jsPDF>; export default html2PDF;