Hi all I am a newbie in JavaScript and AngulaJs. I need to make something which will take the screenshot of the webpage make pdf of it and then I want to sent it to the backend.working.
I have searched a lot and found some libraries to do this. But I am stuck at one point.
I am using html2canvas and pdfmake javascript librabries. i have followed the docs but I am not able to get the blob of the pdf generating.
My code -
https://jsfiddle.net/ChitrangSharma07/pt9sjvka/1/
I have made jsFiddle of my code.
Issue is - I can only able to generate pdf and download it locally in my system but I don't want to download it I want to send the pdf to springboot backend!! I tried getting the Blob using function given in the docs of pdfmake library but it is not
Please help
Hi all I am a newbie in JavaScript and AngulaJs.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 374 |
Nodes: | 16 (2 / 14) |
Uptime: | 117:03:17 |
Calls: | 7,951 |
Calls today: | 2 |
Files: | 13,008 |
Messages: | 5,811,705 |