Bump version to 3.2.0-pre and jQuery dependency to 1.7+
Remove the mousewheel/unmousewheel helper methods in favor of
on/off/trigger
Add the trigger hook to actually have a functioning trigger
No longer add delta, deltaX, and deltaY to the event handler arguments
list. Only have deltaX, deltaY, and deltaFactor on the event object.
Add examples directory and beginings of the unit tests
add 3.2.0-pre info to the Changelog
update the classic physical test to work with the latest updates
Support debounce and throttle behaviors via the data object.
Ex: $(...).on('mousewheel', { mousewheel: { behavior: 'throttle', delay: 100 } }, function(event) {});
Add throttling to #test6 to see the throttle behavior in action
Update changelog
Move event fixing logic into exposed function at
$.event.special.mousewheel._fix and remove usage of $.event.handle
remove the throttle usage from physical test for now as it changes the original behavior of the test regarding event propagation because it is actually only handling the event every 100 ms
Update deltas to follow the new wheel event convention
Include updated details regarding deltas in the readme
Actually lets call it 4.0.0-pre considering the delta sign update
Fix directions on the physical test output.
update the unit test with the correct directions
fix bad merge
Add simple intent setting and tweak how throtte/debounce is set.
Allow preventDefault and stopPropagation to function for events that are
ignore due to throttling or intent delay.