tapholdThreshold

このエントリーをはてなブックマークに追加

$.event.special.tap.tapholdThresholdにはタップホールドのホールド時間が設定できます。

tapholdイベントのホールド時間はデフォルトでは750msですが、任意の時間に設定できます。

$(document).on("mobileinit", function(){
 $.event.special.tap.tapholdThreshold = 7500;
});

sample

設定はmobileinitイベント内で行ないます。

登録日 : 2012年12月05日 最終更新日 : 2016年12月19日

同じカテゴリー(初期設定)のエントリー

検索

スポンサードリンク

バージョン

リファレンス