kempsteven / vue-html2pdf

vue-html2pdf converts any vue component or element into PDF, vue-html2pdf is basically a vue wrapper only and uses html2pdf.js behind the scenes.
https://www.npmjs.com/package/vue-html2pdf
MIT License
432 stars 75 forks source link

Unable to Assign a PDF Created Without Download to a Vue Variable #177

Open vciloglu opened 6 months ago

vciloglu commented 6 months ago

I am facing a challenge where I need to assign a PDF created without downloading it to a Vue variable. The scenario involves generating a PDF dynamically, and I want to store it directly in a Vue variable without triggering a download. Currently, the library seems to force a download, and I'm seeking guidance or a workaround to directly assign the generated PDF to a Vue variable. Any help or suggestions on achieving this would be greatly appreciated.