Nolanus / ngx-page-scroll

Animated scrolling functionality for angular written in pure typescript
https://nolanus.github.io/ngx-page-scroll/
MIT License
477 stars 106 forks source link

Scrolling Between Components #432

Closed paragsaxena8 closed 2 years ago

paragsaxena8 commented 3 years ago

Hi, I am trying to implement scrolling between components, where the header menu is in topbar.component.ts and id="#about" is in home.component.ts.

Nolanus commented 3 years ago

Hi @paragsaxena8, did you encounter any issues? This shouldn't be a problem, as long as the element with id about is present in the DOM when the click happens. It does not need to be in the same angular component.