[英]A workaround of the touchmove event bug?
我相信您將需要做更多的工作,並且我認為答案就在於使用所有其他事件來協調和管理“活動”狀態。
el.on('touchstart mousedown', function(e) ...
el.on('touchcancel', function(e) ...
el.on('touchmove mousemove', function(e) ...
el.on('touchend mouseup', function(e) ...
我在某些方面使用了角接觸,它們似乎可以解決相同的問題,值得看一下示例代碼。 https://github.com/angular/bower-angular-touch/blob/master/angular-touch.js#L122
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.