I'm hoping there's no such thing as a dumb question in this forum.
I've seen the ngx-extended-pdf-viewer demo at https://www.pdfviewer.net/extended-pdf-viewer/multiple-documents which loads a new pdf when selected from a list on that demo page, but I'm wondering how I could pass the source variable to the pdf-viewer via the URL Like:
www.myviewer/index.html?source=pdfNAME
(index.html is the 'starter' version I built according to https://pspdfkit.com/blog/2021/how-to-build-an-angular-pdf-viewer-with-pdfjs/)
and then have that variable used to select the source location from an array. Such as:
var pdfSource = [
{
selector: 'app-root_Selector',
templateUrl: './app.component.html',
styleUrls: ['./app.component_A.css'],
name:'myNewPdf'},
}]
(( and where would I put that array?)