Hype HistoryKit

Helps connecting a Hype document to the history object

To test it just navigate to scenes and then use the browser buttons to navigate back and forth. You can also trigger back and forth events using JavaScript (see docs above). This currently pushes new history events on each scene change automatically. You can avoid it by using hypeDocument.showSceneNamedNoPushState. If people want it I could also add an option to push state manually.

Demo:
HypeHistoryKit.html

Source:
HypeHistoryKit.js

Download Example:
HypeHistoryKit.hype.zip

Version-History
1.0 Initial release with example

5 Likes