Skip to main content

WheelInputOption

The option object of the eg.Axes.WheelInput module

Type: Object

PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
inputKeyArray<String>✔️["any"]List of key combinations to allow input
- any: any key
- shift: shift key
- ctrl: ctrl key and pinch gesture on the trackpad
- alt: alt key
- meta: meta key
- none: none of these keys are pressed
scaleNumber✔️1Coordinate scale that a user can move
releaseDelayNumber✔️300Millisecond that trigger release event after last input
useNormalizedBoolean✔️trueWhether to calculate scroll speed the same in all browsers
useAnimationBoolean✔️falseWhether to process coordinate changes through the mouse wheel as a continuous animation