OptionalhashURL fragment identifier (hash)
The hash portion of the URL, including the leading # character.
OptionalpathThe URL path
The path portion of the URL, not including query parameters or hash.
OptionalqueryParsed URL query parameters
Query string parameters parsed as an object. Values are automatically
parsed using JSON.parse() when possible, allowing for typed values.
OptionalstateNavigation state attached to this location
Custom state data stored with this history entry. State is not visible in the URL and is preserved when navigating back/forward through history.
Useful for passing context between routes without exposing it in the URL.
Navigates to a new location
Id
navigator.navigate