Applies the active class to the node if the href is the same as the current location.
Svelte action to handle routing with optional active state.
Logging facility.
Runtime level configuration functionality.
Query string operations.
A span is a single trace in a trace collection.
A trace is a collection of spans.
A reactive map of spans.
Helper method for creating a new span.
Navigate to a new path by using the browser's history API (pushState specifically).
Normalize a path to ensure it starts with a slash.
Get a query parameter from the current URL.
Convert a value to a primitive value.
Marshal a value to a specific type.
The available status codes that a route can have called out from the statuses handler mapping.
A route that can be navigated to.
Options for the route action.
A route result that includes the evaluation results of the route.
A class that represents a router instance.
The configuration for a new router instance.
The function that is used to apply a route to the DOM.
Path or querystring evaluation result.
The evaluation results of the route.
The evaluation results of the route.
The types of values that the {Query} test method can return.
The types of values that can be used as a query.
The returned param value types.
Options that are applied to the html element when the route is active, inactive, loading, or disabled.
Route status handler mapping.
The conditions that are considered failed.
The conditions that are considered successful.
Get the status by value.
Add the
active
class to the node if the current route matches the node's href.