import { DaffActivatedRouteSnapshotWithNamedViews } from '@daffodil/router'
A route that contains named views.
interface DaffActivatedRouteSnapshotWithNamedViews {
data: { daffNamedViews?: Record<string, Type<any>>; }
url: UrlSegment[]
params: Params
queryParams: Params
fragment: string
data: Data
outlet: string
component: Type<any>
readonly routeConfig: Route
get title(): string
get root(): ActivatedRouteSnapshot
get parent(): ActivatedRouteSnapshot
get firstChild(): ActivatedRouteSnapshot
get children(): ActivatedRouteSnapshot[]
get pathFromRoot(): ActivatedRouteSnapshot[]
get paramMap(): ParamMap
get queryParamMap(): ParamMap
toString(): string
}
data { daffNamedViews?: Record |
|---|
url UrlSegment[] |
|---|
The URL segments matched by this route |
params Params |
|---|
The matrix parameters scoped to this route. You can compute all params (or data) in the router state or to get params outside
of an activated component by traversing the |
queryParams Params |
|---|
The query parameters shared by all the routes |
fragment string |
|---|
The URL fragment shared by all the routes |
data Data |
|---|
The static and resolved data of this route |
outlet string |
|---|
The outlet name of the route |
component Type |
|---|
The component of the route |
routeConfig Route |
|---|
The configuration used to match this route * |
title string |
|---|
The resolved route title |
root ActivatedRouteSnapshot |
|---|
The root of the router state |
parent ActivatedRouteSnapshot |
|---|
The parent of this route in the router state tree |
firstChild ActivatedRouteSnapshot |
|---|
The first child of this route in the router state tree |
children ActivatedRouteSnapshot[] |
|---|
The children of this route in the router state tree |
pathFromRoot ActivatedRouteSnapshot[] |
|---|
The path from the root of the router state tree to this route |
paramMap ParamMap |
|---|
queryParamMap ParamMap |
|---|
string