MouseScrollEvent


class MouseScrollEvent


Mouse wheel or touchpad event.

Summary

Public constructors

MouseScrollEvent(
    delta: MouseScrollUnit,
    orientation: MouseScrollOrientation
)

Public properties

MouseScrollUnit

Change of mouse scroll.

MouseScrollOrientation

Orientation in which scrolling event occurs.

Public constructors

MouseScrollEvent

MouseScrollEvent(
    delta: MouseScrollUnit,
    orientation: MouseScrollOrientation
)

Public properties

delta

val deltaMouseScrollUnit

Change of mouse scroll.

Positive if scrolling down, negative if scrolling up.

orientation

val orientationMouseScrollOrientation

Orientation in which scrolling event occurs.

Up/down wheel scrolling causes events in vertical orientation. Left/right wheel scrolling causes events in horizontal orientation.