My code (Javascript) to open the tab is below:
function openPdfInNewTab(pdfData) {
var file = new Blob([pdfData], { type: 'application/pdf' })
var fileURL = URL.createObjectURL(file)
window.open(fileURL, 'test')
}
My code (Javascript) to open the tab is below:
function openPdfInNewTab(pdfData) {
var file = new Blob([pdfData], { type: 'application/pdf' })
var fileURL = URL.createObjectURL(file)
window.open(fileURL, 'test')
}