You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can open a PDF document with [externalWindow]="true" in a new window or tab. Using externalWindowOptions I only managed to pass options from windowFeatures documented in https://developer.mozilla.org/en-US/docs/Web/API/Window/open, but I was not able to pass a target to e. g. open the next PDF document in the same window or tab as the first document.
How can I open a PDF document in a specific target window?
If this is currently not possible, I hereby request to add passing the target window as a parameter.
The text was updated successfully, but these errors were encountered:
@ruempel This was easy to address, I was already upgrading to Angular 15, so added a "target" parameter as well. Please look for next release.
Usage like this <ng2-pdfjs-viewer #externalPdfViewer [externalWindow]="true" openFile="false" [useOnlyCssZoom]=true target="_myWindow"></ng2-pdfjs-viewer>
I can open a PDF document with
[externalWindow]="true"
in a new window or tab. UsingexternalWindowOptions
I only managed to pass options fromwindowFeatures
documented in https://developer.mozilla.org/en-US/docs/Web/API/Window/open, but I was not able to pass atarget
to e. g. open the next PDF document in the same window or tab as the first document.How can I open a PDF document in a specific target window?
If this is currently not possible, I hereby request to add passing the target window as a parameter.
The text was updated successfully, but these errors were encountered: