Expose scrollspy from the documentation
Please describe the feature you would like to request.
The docs website implements a scrollspy so that the currently in-view fragment of a page can be highlighted. However, this infrastructure currently actually lives in angular/angular: https://github.com/angular/angular/blob/master/aio/src/app/shared/scroll-spy.service.ts.
What is the use-case or motivation for this proposal?
If this was exposed, we could all use it – for the same usecase as in the website. :-)
Is there anything else we should know?
I could see the value in having something similar live in the cdk/scrolling package. That said, this would be near the bottom of the list in terms of priorities.
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.
Find more details about Angular's feature request process in our documentation.
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
Hi everybody, concerning this issue, you could have a look at NgxScrollSpy. An open source library for scroll spy in Angular.