Skip to content

vue-router / RouteLocationNormalizedGeneric

RouteLocationNormalizedGeneric ​

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

Extends ​

Extended by ​

Properties ​

fullPath ​

ts
fullPath: string;

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

Inherited from ​

_RouteLocationBase.fullPath


hash ​

ts
hash: string;

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

Inherited from ​

_RouteLocationBase.hash


matched ​

ts
matched: RouteRecordNormalized[];

Array of RouteRecordNormalized


meta ​

ts
meta: RouteMeta;

Merged meta properties from all the matched route records.

Inherited from ​

MatcherLocation.meta


name ​

ts
name: RouteRecordNameGeneric;

Name of the matched record

Overrides ​

MatcherLocation.name


params ​

ts
params: RouteParamsGeneric;

Object of decoded params extracted from the path.

Inherited from ​

MatcherLocation.params


path ​

ts
path: string;

Percentage encoded pathname section of the URL.

Inherited from ​

MatcherLocation.path


query ​

ts
query: LocationQuery;

Object representation of the search property of the current location.

Inherited from ​

_RouteLocationBase.query


redirectedFrom ​

ts
redirectedFrom: RouteLocationGeneric | undefined;

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

Inherited from ​

_RouteLocationBase.redirectedFrom

Released under the MIT License.