How to pass an HTML file from another location to jsPDF for PDF generation?

40 Views Asked by At

I can pass the whole document or a section with an Id but i need to specify a file in another location. I´m using Angular 12. I have the jspdf html2canvas function on a service, and on a document i need to pass it which html it needs to render. Tried using HttpClient, fetch... hasn´t worked so far.

0

There are 0 best solutions below