WheelEvent

open external class WheelEvent : MouseEvent (source)

Platform and version requirements: JS

Exposes the JavaScript WheelEvent to Kotlin

Constructors

<init>

WheelEvent(
    type: String,
    eventInitDict: WheelEventInit = definedExternally)

Exposes the JavaScript WheelEvent to Kotlin

Properties

deltaMode

open val deltaMode: Int

deltaX

open val deltaX: Double

deltaY

open val deltaY: Double

deltaZ

open val deltaZ: Double

Inherited Properties

altKey

open val altKey: Boolean

button

open val button: Short

buttons

open val buttons: Short

clientX

open val clientX: Int

clientY

open val clientY: Int

ctrlKey

open val ctrlKey: Boolean

metaKey

open val metaKey: Boolean

offsetX

open val offsetX: Double

offsetY

open val offsetY: Double

pageX

open val pageX: Double

pageY

open val pageY: Double

region

open val region: String?

relatedTarget

open val relatedTarget: EventTarget?

screenX

open val screenX: Int

screenY

open val screenY: Int

shiftKey

open val shiftKey: Boolean

Inherited Functions

getModifierState

fun getModifierState(keyArg: String): Boolean

Companion Object Properties

DOM_DELTA_LINE

val DOM_DELTA_LINE: Int

DOM_DELTA_PAGE

val DOM_DELTA_PAGE: Int

DOM_DELTA_PIXEL

val DOM_DELTA_PIXEL: Int