docs(router): add paramsInheritanceStrategy
documentation (#22590)
PR Close #22590
This commit is contained in:
parent
ada486a1dd
commit
5326537985
@ -151,6 +151,8 @@ export class RouterModule {
|
|||||||
* * `preloadingStrategy` configures a preloading strategy (see `PreloadAllModules`).
|
* * `preloadingStrategy` configures a preloading strategy (see `PreloadAllModules`).
|
||||||
* * `onSameUrlNavigation` configures how the router handles navigation to the current URL. See
|
* * `onSameUrlNavigation` configures how the router handles navigation to the current URL. See
|
||||||
* `ExtraOptions` for more details.
|
* `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 {
|
static forRoot(routes: Routes, config?: ExtraOptions): ModuleWithProviders {
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user