Skip to content
Перевод синхронизирован с документацией от , хэш коммита 0d8d997.

API Documentation / RouteLocationNamedRaw

Interface: RouteLocationNamedRaw ​

Route Location that can infer the necessary params based on the name.

Hierarchy ​

Properties ​

force ​

• 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.

Inherited from ​

RouteLocationOptions.force


hash ​

• Optional hash: string

Inherited from ​

RouteQueryAndHash.hash


name ​

• Optional name: RouteRecordNameGeneric

Inherited from ​

LocationAsRelativeRaw.name


params ​

• Optional params: RouteParamsRawGeneric

Inherited from ​

LocationAsRelativeRaw.params


path ​

• Optional path: undefined

Ignored path property since we are dealing with a relative location. Only undefined is allowed.

Inherited from ​

LocationAsRelativeRaw.path


query ​

• Optional query: LocationQueryRaw

Inherited from ​

RouteQueryAndHash.query


replace ​

• Optional replace: boolean

Replace the entry in the history instead of pushing a new entry

Inherited from ​

RouteLocationOptions.replace


state ​

• 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

Inherited from ​

RouteLocationOptions.state

Released under the MIT License.