mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Currently, NavigationStart there is no way to know if an navigation was triggered imperatively or via the location change. These two use cases should be handled differently for a variety of use cases (e.g., scroll position restoration). This PR adds a navigation source field and restored navigation id (passed to navigations triggered by a URL change). PR Close #21728 |
||
|---|---|---|
| .. | ||
| location_mock.ts | ||
| mock_location_strategy.ts | ||
| testing.ts | ||