linkRoute
npm Package | @angular/router |
---|---|
Module | import { Route } from '@angular/router'; |
Source | router/src/config.ts |
linkInterface Overview
interface Route {
path?: string
pathMatch?: string
matcher?: UrlMatcher
component?: Type<any>
redirectTo?: string
outlet?: string
canActivate?: any[]
canActivateChild?: any[]
canDeactivate?: any[]
canLoad?: any[]
data?: Data
resolve?: ResolveData
children?: Routes
loadChildren?: LoadChildren
runGuardsAndResolvers?: RunGuardsAndResolvers
}
linkDescription
See Routes
for more details.
linkMembers
matcher?: UrlMatcher
component?: Type<any>
data?: Data
resolve?: ResolveData
children?: Routes
loadChildren?: LoadChildren
runGuardsAndResolvers?: RunGuardsAndResolvers