minHold Number (default: 800)

The timeout in milliseconds before the hold event is fired.

Notice: the hold event will be triggered after the time passes, not after the user lifts his/hers finger.


<div id="touch">
    Press and hold here

    minHold: 2000,
    hold: function (e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
        console.log("holding for a while.");
In this article