fuseScrollReset is a helper directive to reset the given element's scroll position to the top on route changes.
This directive is especially useful in situations like having a router-outlet
inside a scrollable area such as
mat-drawer-content
, mat-sidenav-content
or a custom scrollable element.
Exported as: fuseScrollReset
Here are some of the basic usages of the fuseScrollReset
: