0
I have a component to send files to the back end, but I need these files to be transformed into pdf. Thinking about it, I am using Pdfjs, passing the output element to it, but I noticed that it is not working.
follows my Cod
testePdf(file) {
let doc = new jsPDF();
let content = this.upload.nativeElement;
doc.fromHTML(content.innerHTML, 15, 15, {
'width': 190,
});
doc.save('test.pdf');
}
he’s returning empty, where I’m erring?
I am using uppy Dashboard for upload
I thought about it, but the user can go up to an xlr file, worried that I do not know if it meets
– fernanda