Route
interface
See Routes
for more details.
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 }
Properties
Property | Description |
---|---|
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 |
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v6.angular.io/api/router/Route