mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
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:
@@ -232,6 +232,10 @@ ionic.tap = {
|
||||
}
|
||||
}
|
||||
return false;
|
||||
},
|
||||
|
||||
setTolerance: function(val) {
|
||||
TAP_RELEASE_TOLERANCE = val;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user