WheelEventInit Class

https://w3c.github.io/uievents/#dictdef-wheeleventinit

public sealed class WheelEventInit : MouseEventInit
Inheritance
MouseEventInit WheelEventInit

Constructors

NameDescription
WheelEventInit()

WheelEventInit()

public WheelEventInit()

No documentation is available.

Properties

NameDescription
DeltaModeGets the unit of the delta values: pixels, lines or pages.
DeltaXGets the horizontal scroll amount.
DeltaYGets the vertical scroll amount.
DeltaZGets the scroll amount along the Z axis.
MomentumGets a value indicating whether the event is produced by the momentum of a previous gesture.

DeltaMode

UIEvents.cs

Gets the unit of the delta values: pixels, lines or pages.

public uint DeltaMode { get; init; }

Gets the horizontal scroll amount.

public double DeltaX { get; init; }

Gets the vertical scroll amount.

public double DeltaY { get; init; }

Gets the scroll amount along the Z axis.

public double DeltaZ { get; init; }

Momentum

UIEvents.cs

Gets a value indicating whether the event is produced by the momentum of a previous gesture.

public bool Momentum { get; init; }