Skip to content

Interface: RouteLocationAsPathGeneric

Generic version of RouteLocationAsPath. It is used when no RouteMap is provided.

Extends

  • RouteQueryAndHash.RouteLocationOptions

Properties

PropertyTypeDescriptionInherited from
force?booleanTriggers the navigation even if the location is the same as the current one. Note this will also add a new entry to the history unless replace: true is passed.RouteLocationOptions.force
hash?string-RouteQueryAndHash.hash
pathstringPercentage encoded pathname section of the URL.-
query?LocationQueryRaw-RouteQueryAndHash.query
replace?booleanReplace the entry in the history instead of pushing a new entryRouteLocationOptions.replace
state?HistoryStateState to save using the History API. This cannot contain any reactive values and some primitives like Symbols are forbidden. More info at https://developer.mozilla.org/en-US/docs/Web/API/History/stateRouteLocationOptions.state