[
Exposed=Window
] interface WheelEvent : MouseEvent {
constructor(DOMString type, optional WheelEventInit eventInitDict);
const unsigned long DOM_DELTA_PIXEL = 0x00;
const unsigned long DOM_DELTA_LINE = 0x01;
const unsigned long DOM_DELTA_PAGE = 0x02;
readonly attribute unrestricted double deltaX;
readonly attribute unrestricted double deltaY;
readonly attribute unrestricted double deltaZ;
readonly attribute unsigned long deltaMode;
readonly attribute long wheelDeltaX;
readonly attribute long wheelDeltaY;
readonly attribute long wheelDelta;
readonly attribute boolean webkitDirectionInvertedFromDevice;
undefined initWebKitWheelEvent(optional long wheelDeltaX = 0, optional long wheelDeltaY = 0, optional WindowProxy? view = null,
optional long screenX = 0, optional long screenY = 0, optional long clientX = 0, optional long clientY = 0,
optional boolean ctrlKey = false, optional boolean altKey = false,
optional boolean shiftKey = false, optional boolean metaKey = false);
};
dictionary WheelEventInit : MouseEventInit {
double deltaX = 0.0;
double deltaY = 0.0;
double deltaZ = 0.0;
unsigned long deltaMode = 0;
long wheelDeltaX = 0;
long wheelDeltaY = 0;
};