Show PDF preview dynamically in jQuery

2k Views Asked by At

I am building a Django web application. I am referring to InvoiceNinja application for invoice creation which shows the preview of the invoice as an embed object.

As I change any field while creating the invoice, the pdf preview updates automatically. I am not sure how this done(referred to the attached document).

I don't think, they are creating a PDF document(refer to the screenshot). Any idea as to how to do it?

Any useful pointers would be really helpful.

enter image description here

1

There are 1 best solutions below

0
On

Invoice Ninja uses pdf.js by Mozilla which lets you render PDF files directly into the HTML page. See the examples how to apply.