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 ada486a1dd
commit 5326537985

View File

@ -151,6 +151,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 {