jsPDF icon indicating copy to clipboard operation
jsPDF copied to clipboard

What plugins do I need to use .addhtml

Open ggxt opened this issue 11 years ago • 0 comments

As for the example here for **NEW:addHTM() http://mrrio.github.io/jsPDF/#

I am trying to do the same thing for my web application to turning the entire page into a pdf but the only source code I got is:

var pdf = new jsPDF('p','pt','a4');

pdf.addHTML(document.body,function() { var string = pdf.output('datauristring'); $('.preview-pane').attr('src', string); });

So I am just wondering, what other plugins do I need besides jspdf.debug.js?

ggxt avatar Aug 13 '15 20:08 ggxt