event-mousewheel-debug.js revision 76ca635d61eb3f9fb7c9d788a44fa8b1690aa138
/**
* Adds mousewheel event support
* @module event
* @submodule event-mousewheel
*/
var DOM_MOUSE_SCROLL = 'DOMMouseScroll',
a[0] = DOM_MOUSE_SCROLL;
} else {
}
if (a.length < 3) {
a[2] = target;
} else {
}
return a;
};
/**
* Mousewheel event. This listener is automatically attached to the
* correct target, so one should not be supplied. Mouse wheel
* direction and velocity is stored in the 'mouseDelta' field.
* @event mousewheel
* @param type {string} 'mousewheel'
* @param fn {function} the callback to execute
* @param context optional context object
* @param args 0..n additional arguments to provide to the listener.
* @return {EventHandle} the detach handle
* @for YUI
*/
on: function() {
},
detach: function() {
}
};