Skip to main content

PinchInputOption

The option object of the eg.Axes.PinchInput module

Type: Object

PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
scaleNumber✔️1Coordinate scale that a user can move
thresholdNumber✔️0Minimal scale before recognizing
inputTypeArray<String>✔️["touch", "pointer"]Types of input devices
- touch: Touch screen
- pointer: Mouse and touch
touchActionString✔️"none"Value that overrides the element's "touch-action" css property. It is set to "none" to prevent scrolling during touch.