Skip to content

Commit

Permalink
docs(gesture): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
straker committed Nov 27, 2021
1 parent 0e9c10b commit 13cc10b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gesture.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ let init = false;
/**
* A map of gesture objects to gesture names. Add to this object to expand the list of [available gestures](api/gesture#available-gestures).
*
* The gesture name should be the overall name of the gesture (e.g. switch, pinch) and not include any directional information (e.g. left, in).
* The gesture name should be the overall name of the gesture (e.g. swipe, pinch) and not include any directional information (e.g. left, in).
*
* A gesture object should have at least two properties: `touches` and at least one touch event function. The provided gestures also have a `threshold` property which is the minimum distance before the gesture is recognized.
* A gesture object should have a `touches` property and at least one touch event function. The provided gestures also have a `threshold` property which is the minimum distance before the gesture is recognized.
*
* The `touches` property is a number that indicates how many touch points are required for the gesture. A touch event function is a function whose name should match the touch event name it triggers on (e.g. touchstart, touchmove). A touch event function is passed a touch object.
*
Expand Down

0 comments on commit 13cc10b

Please sign in to comment.