Header menu logo fable-electron-docs-api

MouseWheelInputEvent Type

Constructors

Constructor Description

MouseWheelInputEvent(type, x, y, ?deltaX, ?deltaY, ?wheelTicksX, ?wheelTicksY, ?accelerationRatioX, ?accelerationRatioY, ?hasPreciseScrollingDeltas, ?canScroll, ?button, ?globalX, ?globalY, ?movementX, ?movementY, ?clickCount)

Full Usage: MouseWheelInputEvent(type, x, y, ?deltaX, ?deltaY, ?wheelTicksX, ?wheelTicksY, ?accelerationRatioX, ?accelerationRatioY, ?hasPreciseScrollingDeltas, ?canScroll, ?button, ?globalX, ?globalY, ?movementX, ?movementY, ?clickCount)

Parameters:
    type : Type - The type of the event, can be mouseWheel.
    x : int -
    y : int -
    ?deltaX : int -
    ?deltaY : int -
    ?wheelTicksX : int -
    ?wheelTicksY : int -
    ?accelerationRatioX : int -
    ?accelerationRatioY : int -
    ?hasPreciseScrollingDeltas : bool -
    ?canScroll : bool -
    ?button : Button - The button pressed, can be left, middle, right.
    ?globalX : int -
    ?globalY : int -
    ?movementX : int -
    ?movementY : int -
    ?clickCount : int -

Returns: MouseWheelInputEvent
type : Type

The type of the event, can be mouseWheel.

x : int

y : int

?deltaX : int

?deltaY : int

?wheelTicksX : int

?wheelTicksY : int

?accelerationRatioX : int

?accelerationRatioY : int

?hasPreciseScrollingDeltas : bool

?canScroll : bool

?button : Button

The button pressed, can be left, middle, right.

?globalX : int

?globalY : int

?movementX : int

?movementY : int

?clickCount : int

Returns: MouseWheelInputEvent

Instance members

Instance member Description

this.accelerationRatioX

Full Usage: this.accelerationRatioX

this.accelerationRatioY

Full Usage: this.accelerationRatioY

this.button

Full Usage: this.button

The button pressed, can be left, middle, right.

this.canScroll

Full Usage: this.canScroll

this.clickCount

Full Usage: this.clickCount

this.deltaX

Full Usage: this.deltaX

this.deltaY

Full Usage: this.deltaY

this.globalX

Full Usage: this.globalX

this.globalY

Full Usage: this.globalY

this.hasPreciseScrollingDeltas

Full Usage: this.hasPreciseScrollingDeltas

this.movementX

Full Usage: this.movementX

this.movementY

Full Usage: this.movementY

this.type

Full Usage: this.type

The type of the event, can be mouseWheel.

this.wheelTicksX

Full Usage: this.wheelTicksX

this.wheelTicksY

Full Usage: this.wheelTicksY

this.x

Full Usage: this.x

this.y

Full Usage: this.y

Type something to start searching.