I am using as below:

<a [href]="pdfSrc" target="_blank" download="pdfName">Download</a>

whereas pdfSrc is coming from API response and it is a minio link.
If I use sample .pdf file target=”_blank” is opening, but when I use minio link it is opening the pdf in the current tab.

I want to open minio link pdf in a new tab, I am unable to do it with minio link.

If I use sample ‘.pdf’ file target=”_blank” is opening, but when I use minio link it is opening the pdf in the current tab.

I want to open minio link pdf in a new tab, I am unable to do it with minio link.

Source: New feed