Revision 60845
Added by Konstantinos Triantafyllou about 3 years ago
app-routing.module.ts | ||
---|---|---|
61 | 61 |
@NgModule({ |
62 | 62 |
imports: [RouterModule.forRoot(routes, { |
63 | 63 |
preloadingStrategy: PreloadAllModules, |
64 |
scrollPositionRestoration: "top", |
|
65 | 64 |
onSameUrlNavigation: "reload", |
66 | 65 |
relativeLinkResolution: 'corrected' |
67 | 66 |
})], |
Also available in: Unified diff
[Monitor Dashboard | Trunk]: 1. Add smooth js for safari/ie/edge 2. Inject new smooth scroll service on app component. 3. remove configuration about scrolling at navigation start