This commit is contained in:
2023-03-31 13:14:04 +02:00
parent d2679d81a2
commit 3f8d3b816b

View File

@@ -50,7 +50,7 @@
* user performs a "long tap". Best employed on elements that the * user performs a "long tap". Best employed on elements that the
* user is likely to touch while scrolling. Around 150 will work * user is likely to touch while scrolling. Around 150 will work
* well. Defaults to 0. * well. Defaults to 0.
* *
* onlyIf: Function to run as soon as the user touches the element, to * onlyIf: Function to run as soon as the user touches the element, to
* determine whether to do anything. If it returns a falsy value, * determine whether to do anything. If it returns a falsy value,
* the 'touched' class will not be added and the callback will * the 'touched' class will not be added and the callback will