Skip to content

Interface: RouteLocationAsRelativeGeneric

Generic version of RouteLocationAsRelative. 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
name?RouteRecordNameGeneric--
params?RouteParamsRawGeneric--
path?undefinedA relative path to the current location. This property should be removed-
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