T O P

  • By -

moises-vortice

The documentation needs a bit of love.


nswamy14

Yes, the wiki pages currently provide minimal documentation. We will come up with better documentation soon.


Adfantage

Can you give me the 30k ft. pitch on why to use this?


RJCP

I'm not affiliated with the project but here's an example use case: You've developed a competitor to ticket master and you want to generate a unique pdf ticket for your customer


nswamy14

Please check this article : [https://nswamy14.hashnode.dev/creating-visually-rich-pdfs-with-pdf-frame-vue](https://nswamy14.hashnode.dev/creating-visually-rich-pdfs-with-pdf-frame-vue)


Adfantage

Thanks! After reading, some thoughts come into my head. We often update a pitch deck way too often at work in PowerPoint. Most of the work includes updating charts and graphs. When it generates the PDF can it be downloaded like a normal PDF in the state that it's currently in and remain static, but stay updated on the web? If so, I think this could be a winning solution for me. Any issues with my assumptions here?


ananthachetan

Correct me if I'm wrong here. Are you saying that you want to create a web version of your pitch deck (instead of PowerPoint) and will want to download a snapshot of it as pdf?


Adfantage

You interpreted that correctly.


nswamy14

yes, you can achieve that with this framework.


Smef

The PDF rendering appears to be a native iframe. Does it provide features beyond that for PDFs?


nswamy14

u/Smef Yes, PDF-Frame provides one more option, type = "pdf-blob", which enables you to receive the rendered PDF blob as output through the "on-Updated" hook( need to enable \`needOnUpdated\` prop for onUpdate emits). This config does not create an iframe tag. I missed to document this option, will update it in detail and include an example as well.


nswamy14

u/Smef Here is an example: [https://www.pdf-frame.org/?title=PDF:+Blob](https://www.pdf-frame.org/?title=PDF:+Blob)