Skip to content

Commit

Permalink
Merge pull request #37 from martinciu/swipe-only-horizontal
Browse files Browse the repository at this point in the history
make swipe recognizer horizontal only
  • Loading branch information
runspired committed Jan 23, 2016
2 parents f02fffa + 28cd556 commit 4a60bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/recognizers/swipe.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
include: [],
exclude: [],
options: { threshold: 25 },
options: { threshold: 25, direction: Hammer.DIRECTION_HORIZONTAL },
recognizer: 'swipe'
};

0 comments on commit 4a60bf9

Please sign in to comment.