mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This new signal property is convenient to derive a `isNavigating` state. `isNavigating = computed(() => !!this.router.currentNavigation())` DEPRECATED: The Router.getCurrentNavigation method is deprecated. Use the Router.currentNavigation signal instead. fixes #62958 PR Close #62971
31 lines
1.1 KiB
JSON
31 lines
1.1 KiB
JSON
{
|
|
"schematics": {
|
|
"inject-flags": {
|
|
"version": "20.0.0",
|
|
"description": "Replaces usages of the deprecated InjectFlags enum",
|
|
"factory": "./bundles/inject-flags.cjs#migrate"
|
|
},
|
|
"test-bed-get": {
|
|
"version": "20.0.0",
|
|
"description": "Replaces usages of the deprecated TestBed.get method with TestBed.inject",
|
|
"factory": "./bundles/test-bed-get.cjs#migrate"
|
|
},
|
|
"control-flow-migration": {
|
|
"version": "20.0.0",
|
|
"description": "Converts the entire application to block control flow syntax",
|
|
"factory": "./bundles/control-flow-migration.cjs#migrate",
|
|
"optional": true
|
|
},
|
|
"document-core": {
|
|
"version": "20.0.0",
|
|
"description": "Moves imports of `DOCUMENT` from `@angular/common` to `@angular/core`",
|
|
"factory": "./bundles/document-core.cjs#migrate"
|
|
},
|
|
"router-current-navigation": {
|
|
"version": "20.2.0",
|
|
"description": "Replaces usages of the deprecated Router.getCurrentNavigation method with the Router.currentNavigation signal",
|
|
"factory": "./bundles/router-current-navigation.cjs#migrate",
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|