API Documentation / RouteLocationMatched
Interface: RouteLocationMatched
Normalized version of a route record.
Hierarchy
↳
RouteLocationMatched
Properties
aliasOf
• aliasOf: undefined
| RouteRecordNormalized
Defines if this record is the alias of another one. This property is undefined
if the record is the original one.
Inherited from
beforeEnter
• beforeEnter: undefined
| NavigationGuardWithThis
<undefined
> | NavigationGuardWithThis
<undefined
>[]
Registered beforeEnter guards
Inherited from
RouteRecordNormalized.beforeEnter
children
• children: RouteRecordRaw
[]
Nested route records.
Inherited from
RouteRecordNormalized.children
components
• components: undefined
| null
| Record
<string
, RouteComponent
>
{@inheritDoc RouteRecordMultipleViews.components}
Overrides
RouteRecordNormalized.components
instances
• instances: Record
<string
, undefined
| null
| ComponentPublicInstance
<{}, {}, {}, {}, {}, {}, {}, {}, false
, ComponentOptionsBase
<any
, any
, any
, any
, any
, any
, any
, any
, any
, {}, {}, string
>, {}>>
Mounted route component instances Having the instances on the record mean beforeRouteUpdate and beforeRouteLeave guards can only be invoked with the latest mounted app instance if there are multiple application instances rendering the same view, basically duplicating the content on the page, which shouldn't happen in practice. It will work if multiple apps are rendering different named views.
Inherited from
RouteRecordNormalized.instances
meta
• meta: RouteMeta
{@inheritDoc _RouteRecordBase.meta}
Inherited from
name
• name: undefined
| RouteRecordName
{@inheritDoc _RouteRecordBase.name}
Inherited from
path
• path: string
{@inheritDoc _RouteRecordBase.path}
Inherited from
props
• props: Record
<string
, _RouteRecordProps
>
{@inheritDoc RouteRecordMultipleViews.props}
Inherited from
redirect
• redirect: undefined
| RouteRecordRedirectOption
{@inheritDoc _RouteRecordBase.redirect}