editLink |
---|
API Documentation / RouteLocationAsRelativeGeneric
Generic version of RouteLocationAsRelative. It is used when no RouteMap is provided.
-
↳
RouteLocationAsRelativeGeneric
• Optional
force: boolean
Triggers 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.
• Optional
hash: string
• Optional
name: RouteRecordNameGeneric
• Optional
params: RouteParamsRawGeneric
• Optional
path: undefined
A relative path to the current location. This property should be removed
• Optional
query: LocationQueryRaw
• Optional
replace: boolean
Replace the entry in the history instead of pushing a new entry
• Optional
state: HistoryState
State 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/state