angular/packages/core/schematics/migrations
Matthieu Riegler 687c374826 feat(router): add a currentNavigation signal to the Router service. (#63011)
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 #63011
2025-08-06 09:54:53 -07:00
..
control-flow-migration build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
document-core build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
inject-flags build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
output-migration build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
router-current-navigation feat(router): add a currentNavigation signal to the Router service. (#63011) 2025-08-06 09:54:53 -07:00
self-closing-tags-migration build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
signal-migration build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
signal-queries-migration build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
test-bed-get build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00