A pseudo event which tries to give mousewheel a more consisent detail, deltaX, and deltaY. ( basically a combination of the implementation found in google closure and qooxdoo )
Use the :normalize pseudo when adding a mousewheel event to access a normalized events detail, detlaX, and deltaY. Simply access these properties from the event object, as you normally would.
document.id('container').addEvent('mousewheel:normalize', function(e){ console.log(e.detail, e.deltaX, e.deltaY); });
Arbitrary section is arbitrary.
<3 @fat
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