Skip to content

Commit

Permalink
Merge pull request #164 from vHeemstra/master
Browse files Browse the repository at this point in the history
Bugfix and corrected typo/code indentation
  • Loading branch information
benmajor authored Apr 21, 2020
2 parents b3c496e + fbcd26c commit e5c8c20
Show file tree
Hide file tree
Showing 5 changed files with 1,081 additions and 112 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ Each event provides different callback data. The following shows the numerous da

## 6. Defining Thresholds:

You can also define custom thresholds to be used for ``swipe`` events (``swipeup``, ``swiperight``, ``swipedown`` and ``swipeleft``) to prevent interference with scrolling and other events. To do so, simply assign a `data-xthreshold` or `date-ythreshold` to the target element as follows:
You can also define custom thresholds to be used for ``swipe`` events (``swipeup``, ``swiperight``, ``swipedown`` and ``swipeleft``) to prevent interference with scrolling and other events. To do so, simply assign a `data-xthreshold` or `data-ythreshold` to the target element as follows:

``<div id="mySwiper" data-xthreshold="500"></div>``

Expand Down
Loading

0 comments on commit e5c8c20

Please sign in to comment.