I’d love to have a page that renders a different set of values based on the value of a query parameter appended to the end of the URL. I tried writing a pack to do this, but window is not available in packs and globalThis doesn’t have a location property.
prepopulating control values on a given page is the goal.
Let’s say I have a select box that lets me choose one of five different models to render below. I’d love to embed that choice in the URL, rather than making the user load the page with the box blank and then choosing the one they want.
That’d let me share links to different views on the same page.