html2pdf.js icon indicating copy to clipboard operation
html2pdf.js copied to clipboard

cannot dynamically render the pdf generated using html2pdf function

Open dilagurung opened this issue 8 years ago • 3 comments

I don't know whether it's an issue or feature which is required. But basically, I am looking for a function which returns the pdf created by htmltopdf function and render it dynamically rather than downloading it.

dilagurung avatar Jun 13 '18 15:06 dilagurung

Iam lookin for this too..

lulul62 avatar Jun 21 '18 08:06 lulul62

@lulul62 Thing is, you need to do bit modification in html2pdf.js.

Add the following lines.

image Consider Line number 391 to 404 (refer to image attachment)

Let me know if that help.

dilagurung avatar Jun 22 '18 20:06 dilagurung

Nice thank you :) yep it help me.

lulul62 avatar Jun 25 '18 13:06 lulul62