Skip to content

anirbmuk/angular-scroll-to-top

Repository files navigation

Angular Scroll-To-Top Demo

Angular application to demonstrate auto-scroll to top

Related Blog

https://theangularpath.anirbanblogs.com/2021/06/angular-scroll-to-top-implementation.html

! Updated to Angular 15 !

**Standalone components**, replacing NgModule
**inject** function replacing dependency injection through constructors

* The 'main' branch contains the updated syntax of angular 15.
* Refer to the 'legacy' branch to view the old syntax of angular 13.

Preview

preview