@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="WheelEvent")
public class WheelEvent
extends MouseEvent
| Modifier and Type | Field and Description |
|---|---|
static int |
DOM_DELTA_LINE |
static int |
DOM_DELTA_PAGE |
static int |
DOM_DELTA_PIXEL |
AT_TARGET, BUBBLING_PHASE, cancelBubble, CAPTURING_PHASE, NONE, returnValue| Constructor and Description |
|---|
WheelEvent(java.lang.String type)
The WheelEvent() constructor returns a newly created WheelEvent object.
|
WheelEvent(java.lang.String type,
WheelEventInit eventInitDict)
The WheelEvent() constructor returns a newly created WheelEvent object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
deltaMode()
The WheelEvent.deltaMode read-only property returns an unsigned long representing the unit of the delta values scroll amount.
|
double |
deltaX()
The WheelEvent.deltaX read-only property is a double representing the horizontal scroll amount in the WheelEvent.deltaMode unit.
|
double |
deltaY()
The WheelEvent.deltaY read-only property is a double representing the vertical scroll amount in the WheelEvent.deltaMode unit.
|
double |
deltaZ()
The WheelEvent.deltaZ read-only property is a double representing the scroll amount along the z-axis, in the WheelEvent.deltaMode unit.
|
altKey, button, buttons, clientX, clientY, ctrlKey, getModifierState, metaKey, movementX, movementY, offsetX, offsetY, pageX, pageY, relatedTarget, screenX, screenY, shiftKey, x, ybubbles, cancelable, composed, composedPath, currentTarget, defaultPrevented, eventPhase, initEvent, initEvent, initEvent, isTrusted, preventDefault, srcElement, stopImmediatePropagation, stopPropagation, target, timeStamp, typeassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, values@JsOverlay public static final int DOM_DELTA_LINE
@JsOverlay public static final int DOM_DELTA_PAGE
@JsOverlay public static final int DOM_DELTA_PIXEL
public WheelEvent(@Nonnull
java.lang.String type,
@Nonnull
WheelEventInit eventInitDict)
public WheelEvent(@Nonnull
java.lang.String type)
@JsProperty(name="deltaMode") @WheelEventDeltaMode public int deltaMode()
@JsProperty(name="deltaX") public double deltaX()
@JsProperty(name="deltaY") public double deltaY()
@JsProperty(name="deltaZ") public double deltaZ()