Skip to content

🧠 A lightweight Angular library that remembers the last page a user visited and routes them to it when they come back.

License

Notifications You must be signed in to change notification settings

dkreider/ngx-pagememory

Repository files navigation


ngx-pagememory PRs All Contributors

A lightweight Angular library that remembers the last page a user visited when they leave an Angular application and them routes them to it when the re-open it.

Installation

ng add ngx-pagememory

Usage

Import the NgxPagememoryModule into your AppModule. You can configure it as shown below:

import { NgxPagememoryModule } from 'ngx-pagememory';

@NgModule({
    declarations: [AppComponent],
    imports: [
        NgxPagememoryModule.forRoot()
    ],
    bootstrap: [AppComponent]
})
export class AppModule {
}

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Daniel Kreider

💻

This project follows the all-contributors specification.

Contributions of any kind welcome!

Credits

About

🧠 A lightweight Angular library that remembers the last page a user visited and routes them to it when they come back.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published