docs(router): add `paramsInheritanceStrategy` documentation (#22590)

PR Close #22590
This commit is contained in:
Sarun Intaralawan 2018-03-05 20:34:55 +07:00 committed by Miško Hevery
parent 8fe8b8fcff
commit b72dbc843f
1 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,8 @@ export class RouterModule {
* * `preloadingStrategy` configures a preloading strategy (see `PreloadAllModules`).
* * `onSameUrlNavigation` configures how the router handles navigation to the current URL. See
* `ExtraOptions` for more details.
* * `paramsInheritanceStrategy` defines how the router merges params, data and resolved data
* from parent to child routes.
*/
static forRoot(routes: Routes, config?: ExtraOptions): ModuleWithProviders {
return {