HTML DOM WheelEvent

WheelEvent-object

Gebeurtenis die optreedt bij het scrollen van de muiswiel, behoort tot het WheelEvent-object.

Eigenschappen en methoden van het WheelEvent

Eigenschap/methode Description
deltaX Teruggeven van de horizontale scrollingshoeveelheid van de muiswiel (x-as).
deltaY Teruggeven van de verticale scrollingshoeveelheid van de muiswiel (y-as).
deltaZ Returns the Z-axis scroll amount of the mouse wheel.
deltaMode Returns a number representing the measurement unit of the increment value (pixels, lines, or pages).

Inherited properties and methods

WheelEvent inherits all properties and methods from the following objects:

MouseEvent

UiEvent

Event object

Event type

These event types belong to the WheelEvent object:

Event Description
onwheel This event occurs when the mouse wheel scrolls up or down on the element.