MooTools onHashChange Event 0.1

This is a simple script to add the onhashchange event to browsers that don't already support it. This code comes entirely from here: https://mootools.lighthouseapp.com/projects/2706/tickets/778-add-hashchange-event#ticket-778-1. I'm just packaging it up for distribution.



Details

Author
Greggory Hernandez
Current version
0.1
GitHub
greggoryhz/MooTools-onHashChange-Event
Downloads
2250
Category
Native
Tags
Report
GitHub Issues

Releases


Dependencies

  • _self_/_current_: core/1.2.4: '*'

How to use

Simply include the MooHashChange.js script and then you can set the event handler like this:

window.addEvent('hashchange', function () { // do stuff });

Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus