如何在 HTML 中正確使用 jQuery Mobile 中的 FastClick?


無需使用 Fastclick 等第三方外掛。

 jQuery Mobile 使用 vclick 事件解決了這個問題。jQuery 在移動和桌面計算機上同樣適用,而且不存在 300 毫秒的延遲

$(document).on('vclick', '#impButton', function(){
});

更新於:2020 年 1 月 30 日

137 次瀏覽

開啟你的職業生涯

透過完成該課程,獲得認證

開始學習
廣告
© . All rights reserved.