diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


dsHistory: Another Way to Revisit the Past

Andrew Mattie has released a new JavaScript history manager that allows one to bind functions to history events either with or without changing the window hash (depending on the developer’s preference).

dsHistory internally works somewhat similar to the other history solutions that exist, but it is implemented more like dojo’s bind than anything else. It requires no supporting libraries, it checks in at just over 7kb when compressed, and it is easy to use. The history is thought of as a series of events that have functions attached to them, and the bookmarkable window hash data is designed to be controlled independently from the events (if it is even utilized at all, which I’ve found isn’t desired at times).

Andrew details his travels on getting this library out by discussing those who came before him:

Check out examples to get started. It explains most everything you’ll need to know really. If you’d like to use it, you can download the zip. It contains the usage.html file, the uncompressed dshistory.js file, the compressed dshistory.compressed.js file, and the dshistory.html supporting asset file.

Source:→ Andrew Mattie

dsHistory, Java, Secipt, Javascript, Library

Share This Story, Choose Your Platform!