taphold event

taphold

taphold eventversion added: 1.0

Description: Triggered after a sustained complete touch event.

  • jQuery( ".selector" ).on( "taphold", function( event ) { ... } )

The jQuery Mobile taphold event triggers after a sustained, complete touch event (also known as a long press).

$.event.special.tap.tapholdThreshold (default: 750) - This value dictates how long the user must hold their tap before the taphold event is fired on the target element.

$.event.special.tap.emitTapOnTaphold (default: true) - This value dictates whether a tap event will be emitted along with the ta