I am using jspdf to generate a pdf file. Every thing is working fine. But how to open generated pdf in new tab or new window.
I am using
Generally you can download it, show, or get a blob string:
const pdfActions = { save: () => doc.save(filename), getBlob: () => { const blob = doc.output('datauristring'); console.log(blob) return blob }, show: () => doc.output('dataurlnewwindow') }