enableKeys |
Array.<westures-core.STATE_KEYS>
|
<optional>
|
[]
|
List of keys
which will enable the gesture. The gesture will not be recognized unless one
of these keys is pressed while the interaction occurs. If not specified or an
empty list, the gesture is treated as though the enable key is always down. |
disableKeys |
Array.<westures-core.STATE_KEYS>
|
<optional>
|
[]
|
List of keys
which will disable the gesture. The gesture will not be recognized if one of
these keys is pressed while the interaction occurs. If not specified or an
empty list, the gesture is treated as though the disable key is never down. |
minInputs |
number
|
<optional>
|
1
|
The minimum number of pointers that
must be active for the gesture to be recognized. Uses >=. |
maxInputs |
number
|
<optional>
|
Number.MAX_VALUE
|
The maximum number of
pointers that may be active for the gesture to be recognized. Uses <=. |
applySmoothing |
boolean
|
<optional>
|
true
|
Whether to apply inertial
smoothing for systems with coarse pointers. |
deadzoneRadius |
number
|
<optional>
|
15
|
The radius in pixels around the
start point in which to do nothing. |
dynamicPivot |
Element
|
<optional>
|
false
|
Normally the center point of
the gesture's element is used as the pivot. If this option is set, the
initial contact point with the element is used as the pivot instead. |