mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
c40ae7f7cf
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