Skip to content

API DocumentationDocs


API Documentation / MatcherLocation

Interface: MatcherLocation

Normalized/resolved Route location that returned by the matcher.

Properties

matched

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

meta: RouteMeta

Merged meta properties from all the matched route records.


name

name: null | RouteRecordNameGeneric

Name of the matched record


params

params: RouteParamsGeneric

Object of decoded params extracted from the path.


path

path: string

Percentage encoded pathname section of the URL.

Released under the MIT License.