Upload preview in modal

Asked

Viewed 42 times

1

I was previewing through another tab:

public visualizarArquivo(file): void {
    var url = window.URL.createObjectURL(file);
    var a = document.createElement("a");
    a.setAttribute("href", url);
    a.setAttribute("target", "_blank");
    a.click();
  }

But I had problem with Pop up lock, now I need to load this preview in a modal, as I load through embed or iframe ?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.