javascript event wheelDelta
@March 15, 2008, 1:22 a.m.
wheelDelta | Firefox/Netscape/NN n/a IE 5.5(Win) Chrome/Safari/DOM n/a |
Read-only | |
Returns an integer indicating which direction the user rolled the mouse wheel (for a mouse equipped with a wheel) during an onmousewheel event. A positive value means the user rolled the wheel toward the screen; a negative value means the opposite direction. |
|
Example | |
if (evt.wheelDelta > 0) { ... } |
|
Value | |
Integer, typically 120 or -120. |
|
Default | |
None. |
Permanent URL:
http://javascript.gakaa.com/event-wheeldelta.aspx
Powered by Linode.