Visitar URL original
withInMemoryScrolling • Angular
The Wayback Machine - https://web.archive.org/web/20260217023114/https://angular.dev/api/router/withInMemoryScrolling
    • Overview
@angular/router

withInMemoryScrolling

function
stable

Enables customizable scrolling behavior for router navigations.

API

Usage Notes

Basic example of how you can enable scrolling feature:

const appRoutes: Routes = [];bootstrapApplication(AppComponent,  {    providers: [      provideRouter(appRoutes, withInMemoryScrolling())    ]  });
Jump to details