feat(tap): Make TAP_RELEASE_TOLERANCE configurable

Setter for TAP_RELEASE_TOLERANCE so the default can be changed. Closes
#1362
This commit is contained in:
Adam Bradley
2014-05-13 11:13:03 -05:00
parent 1b1c234fff
commit 2736993083

View File

@@ -232,6 +232,10 @@ ionic.tap = {
}
}
return false;
},
setTolerance: function(val) {
TAP_RELEASE_TOLERANCE = val;
}
};