Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import * as jsPDF from 'jspdf';
- import { autoTable } from 'jspdf-autotable';
- var doc = new jsPDF();
- doc.autoTable({head: head, body: body, startY: 80 });
- doc.save('Test.pdf');
- "scripts": [
- "../node_modules/jspdf/dist/jspdf.min.js",
- "../node_modules/jspdf-autotable/dist/jspdf.plugin.autotable.js"
- ],
- import * as jsPDF from 'jspdf';
- import 'jspdf-autotable';
- .
- .
- .
- jsPDF: any; //important
Add Comment
Please, Sign In to add comment