Skip to content

API Documentation / RouteLocationNormalizedLoadedGeneric

Interface: RouteLocationNormalizedLoadedGeneric

Generic version of RouteLocationNormalizedLoaded that is used when no RouteMap is provided.

Hierarchy

Properties

fullPath

fullPath: string

The whole location including the search and hash. This string is percentage encoded.

Inherited from

RouteLocationNormalizedGeneric.fullPath


hash

hash: string

Hash of the current location. If present, starts with a #.

Inherited from

RouteLocationNormalizedGeneric.hash


matched

matched: RouteLocationMatched[]

Array of RouteLocationMatched containing only plain components (any lazy-loaded components have been loaded and were replaced inside the components object) so it can be directly used to display routes. It cannot contain redirect records either. This property is non-enumerable.

Overrides

RouteLocationNormalizedGeneric.matched


meta

meta: RouteMeta

Merged meta properties from all the matched route records.

Inherited from

RouteLocationNormalizedGeneric.meta


name

name: RouteRecordNameGeneric

Name of the matched record

Inherited from

RouteLocationNormalizedGeneric.name


params

params: RouteParamsGeneric

Object of decoded params extracted from the path.

Inherited from

RouteLocationNormalizedGeneric.params


path

path: string

Percentage encoded pathname section of the URL.

Inherited from

RouteLocationNormalizedGeneric.path


query

query: LocationQuery

Object representation of the search property of the current location.

Inherited from

RouteLocationNormalizedGeneric.query


redirectedFrom

redirectedFrom: undefined | RouteLocationGeneric

Contains the location we were initially trying to access before ending up on the current location.

Inherited from

RouteLocationNormalizedGeneric.redirectedFrom

Released under the MIT License.