API Documentation • Docs
API Documentation / RouteLocationNormalizedTyped
Interface: RouteLocationNormalizedTyped<RouteMap, Name> Helper to generate a type safe version of the RouteLocationNormalized type.
Extends Type Parameters • RouteMap extends RouteMapGeneric
= RouteMapGeneric
• Name extends keyof RouteMap
= keyof RouteMap
fullPath:
string
The whole location including the search
and hash
. This string is percentage encoded.
RouteLocationNormalizedGeneric
.fullPath
hash:
string
Hash of the current location. If present, starts with a #
.
RouteLocationNormalizedGeneric
.hash
matched:
RouteRecordNormalized
[]
Array of RouteRecordNormalized
Overrides RouteLocationNormalizedGeneric
.matched
meta:
RouteMeta
Merged meta
properties from all the matched route records.
RouteLocationNormalizedGeneric
.meta
name:
Extract
<Name
,string
|symbol
>
Name of the matched record
Overrides RouteLocationNormalizedGeneric
.name
params:
RouteMap
[Name
]["params"
]
Object of decoded params extracted from the path
.
RouteLocationNormalizedGeneric
.params
path:
string
Percentage encoded pathname section of the URL.
Inherited from RouteLocationNormalizedGeneric
.path
query:
LocationQuery
Object representation of the search
property of the current location.
RouteLocationNormalizedGeneric
.query
redirectedFrom:
undefined
|RouteLocationGeneric
Contains the location we were initially trying to access before ending up on the current location.
Inherited from RouteLocationNormalizedGeneric
.redirectedFrom
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4