jQuery Mobile taphold Event
Example
Tap and hold the <p> element (for about one second) to hide it:
Definition and Usage
The taphold event is triggered after tapping and holding (for about one second).
Syntax
| Parameter | Description |
|---|---|
| function(event) | Required. Specifies the function to run when the swipe event is triggered. <br> <br>The function has an optional event object, which can be any jQuery event property (e.g., event.target, event.type, etc.). For more information, refer to the jQuery Event Reference |