Example 1: angular scroll to top scrollToTop(){ window.scroll(0, 0); } Example 2: scroll to top angular //inside the app.component.html add (activate):
確定! 回上一頁