mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
a03c82564d
This commit adds the ability to control the behavior of scrolling in the `NavigationBehaviorOptions`. The options directly correlate with the intercept options of the Navigation API `NavigateEvent#intercept`: https://developer.mozilla.org/en-US/docs/Web/API/NavigateEvent/intercept#scroll While we do not currently have an integration with the navigation API, this change would be necessary to provide the ability to configure that behavior if/when we do. In the meantime, this option is also useful to control the behavior of scrolling when the in memory scroller is enabled. resolves #26744
Angular
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
Usage information and reference details can be found in Angular documentation.
License: MIT