editLink |
---|
API Documentation / RouteLocation
RouteLocationRaw resolved using the matcher
-
_RouteLocationBase
↳
RouteLocation
• fullPath: string
The whole location including the search
and hash
. This string is
percentage encoded.
_RouteLocationBase.fullPath
• hash: string
Hash of the current location. If present, starts with a #
.
_RouteLocationBase.hash
• matched: RouteRecordNormalized
[]
Array of RouteRecord containing components as they were passed when adding records. It can also contain redirect records. This can't be used directly
• meta: RouteMeta
Merged meta
properties from all the matched route records.
_RouteLocationBase.meta
• name: undefined
| null
| RouteRecordName
Name of the matched record
_RouteLocationBase.name
• params: RouteParams
Object of decoded params extracted from the path
.
_RouteLocationBase.params
• path: string
Percentage encoded pathname section of the URL.
_RouteLocationBase.path
• query: LocationQuery
Object representation of the search
property of the current location.
_RouteLocationBase.query
• redirectedFrom: undefined
| RouteLocation
Contains the location we were initially trying to access before ending up on the current location.
_RouteLocationBase.redirectedFrom