@wazabii/statehandler

1.0.1 • Public • Published

StateHandler

A super lightweight and platform-agnostic push state handler.

Usage

let handler = new StateHandler();
//Access push state change
handler.state((updatedRoute) => {
	console.log('State update:', updatedRoute);
});
// push to state
handler.pushState('#why-hello-thar');

Package Sidebar

Install

npm i @wazabii/statehandler

Weekly Downloads

0

Version

1.0.1

License

Apache-2.0

Unpacked Size

13.9 kB

Total Files

4

Last publish

Collaborators

  • wazabii