-
Notifications
You must be signed in to change notification settings - Fork 1
Home
jHash has API's for easily working with the browsers "location.hash" and getting notified when that value changes. In addition to this notification, jHash also provides the ability to define a "root" hash value along with client-side "querystring" values specified directly in the "location.hash" value.
New in v2.0 jHash provides API's for easily defining Route patterns and adding callback methods that will get executed when the "location.hash" changes to a value that matches the specified Route pattern.
jHash provides a cross-browser API for easily handling the HTML5 "hashchange" event. It even works in older browsers that do not natively support a "hashchange" or "onhashchange" event.
Here are some full code examples that use jHash in real world solutions.