docs(router): Correct equivalent for 'enabled' initial navigation (#40061)

With regard to the code in `router_module.ts`, the correct equivalent for `enabled`
should be` enabledBlocking` and not `enabledNonBlocking`.

PR Close #40061
This commit is contained in:
Miloš Lapiš 2020-12-10 01:47:24 +01:00 committed by Alex Rickabaugh
parent 3e68b79106
commit 19b9ec8e4b
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ export function provideRoutes(routes: Routes): any {
* The following values have been [deprecated](guide/releases#deprecation-practices) since v11, * The following values have been [deprecated](guide/releases#deprecation-practices) since v11,
* and should not be used for new applications. * and should not be used for new applications.
* *
* * 'enabled' - This option is 1:1 replaceable with `enabledNonBlocking`. * * 'enabled' - This option is 1:1 replaceable with `enabledBlocking`.
* *
* @see `forRoot()` * @see `forRoot()`
* *