Method UseSearchParams
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
UseSearchParams()
Returns the parsed query string of the current location together with a setter that navigates to the same path with a new query string.
public static (ISearchParams searchParams, SearchParamsSetter setSearchParams) UseSearchParams()
Returns
- (ISearchParams searchParams, SearchParamsSetter setSearchParams)
A tuple of (the parsed search parameters, a setter that replaces the query string and navigates).