1.1.0 • Published 5 years ago

ui-router-history v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

UI-Router History

Adds back button functionality to UI-Router.

Setup

Angular

npm install ui-router-history --save
import { HistoryPlugin } from 'ui-router-history';

...
	imports: [
		UIRouterModule.forRoot({
			config: (router) => {
				router.plugin(HistoryPlugin);
			},
		}),
	]
...

Usage

Navigate to history.back state and you will be redirected to previous state.
Params are also saved, and default history size is 200 entries.

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago