mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(router): add paramsInheritanceStrategy documentation (#22590)
PR Close #22590
This commit is contained in:
committed by
Miško Hevery
parent
ada486a1dd
commit
5326537985
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user