Skip to content

Commit 2736993

Browse files
author
Adam Bradley
committed
feat(tap): Make TAP_RELEASE_TOLERANCE configurable
Setter for TAP_RELEASE_TOLERANCE so the default can be changed. Closes #1362
1 parent 1b1c234 commit 2736993

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: js/utils/tap.js

+4
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,10 @@ ionic.tap = {
232232
}
233233
}
234234
return false;
235+
},
236+
237+
setTolerance: function(val) {
238+
TAP_RELEASE_TOLERANCE = val;
235239
}
236240

237241
};

0 commit comments

Comments
 (0)