angular-docs-cn/tools/public_api_guard/router
vsavkin c40ae7f7cf 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-29 10:22:59 -08:00
..
router.d.ts feat(router): add navigationSource and restoredState to NavigationStart event (#21728) 2018-01-29 10:22:59 -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