react-input-position
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "react-input-position", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A React component that decorates it's children with mouse/touch position tracking, a status toggle fired by click/gesture events, and more.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -36,3 +36,3 @@ # react-input-position | ||
<ReactInputPoisiton | ||
mouseActivationMethod={MOUSE_ACTIVATION.DOUBLE_CLICK}, | ||
mouseActivationMethod={MOUSE_ACTIVATION.DOUBLE_CLICK} | ||
touchActivationMethod={TOUCH_ACTIVATION.DOUBLE_TAP} | ||
@@ -101,5 +101,5 @@ > | ||
**mouseActivationMethod:** Sets the mouse action necessary to toggle the component's active state. Type: string, Default: click. | ||
**mouseActivationMethod:** Sets the mouse action necessary to toggle the component's active state. Accepted Values: "click", "doubleClick", "hover", "mouseDown". Type: string, Default: click. | ||
**touchActivationMethod:** Sets the touch gesture necessary to toggle the component's active state. Type: string, Default: tap. | ||
**touchActivationMethod:** Sets the touch gesture necessary to toggle the component's active state. Accepted Values: "tap", "doubleTap", "touch", "longTouch". Type: string, Default: tap. | ||
@@ -106,0 +106,0 @@ **tapDurationInMs:** Sets the maximum length of touch events in order to be considered tap gestures. Type: number, Default: 180. |
43673