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

Add pdfContentHeight prop #101

Open Annigpannig opened 3 years ago

Annigpannig commented 3 years ago

Add pdfContentHeight as prop with 1132px as default to guard A4 proportions. A pdf in landscape gets messed up when a console tab is opened on the side, this way the user can specify the exact dimensions of the wrapper.

Annigpannig commented 2 years ago

@kempsteven Hi, could you merge this PR, since I don't have write access?