angular-docs-cn/tools/public_api_guard/router
vsavkin 3b7bab7d22 feat(router): add navigationSource and restoredState to NavigationStart event (#21728)
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
2018-01-26 10:25:32 -08:00
..
router.d.ts feat(router): add navigationSource and restoredState to NavigationStart event (#21728) 2018-01-26 10:25:32 -08:00
testing.d.ts ci(router): update the public API guard for the router 2017-12-20 11:54:22 -08:00
upgrade.d.ts ci(router): update the public API guard for the router 2017-12-20 11:54:22 -08:00