javascript - How to simulate click events on h5 mobile terminal
过去多啦不再A梦
过去多啦不再A梦 2017-06-12 09:30:42
0
4
945

The click event will not take effect, what event should be used instead

过去多啦不再A梦
过去多啦不再A梦

reply all(4)
伊谢尔伦

$("xx").on("touchstart",function(){

//something

})

大家讲道理

The click event also works on the mobile terminal, but there will be a 300ms delay. You can use touchstart or custom event tab instead

我想大声告诉你

zepto.js touch.js

typecho

touchstart or tap event of zepto.js framework

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template