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.
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
working.
Please help
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)