selectionFromQuery
selectionFromQuery(
product,query):Selection|undefined
A selection read from the address (?size=41): only axes and values the product has, matched without regard to case. Anything else is dropped.
Parameters
Section titled “Parameters”product
Section titled “product”Pick<Product, "axes" | "variants">
URLSearchParams
Returns
Section titled “Returns”Selection | undefined