JS事件独立的手指pressure的 [英] JS event independent of finger pressure

查看:160
本文介绍了JS事件独立的手指pressure的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,基本上,我当你在某一个滚动位置到达,会激活一个JS事件。

So, basically, I have a JS event which is activated when you arrive at a certain scroll position.

它的工作原理以及在桌面浏览器,但不能在手机浏览器。你必须等待手指离开屏幕。

It works well on desktop browser, but not on mobile browser. You have to wait for the finger leaving the screen.

有没有可能激活即使手指还在滚动页面的事件?

Would it be possible to activate the event even if the finger is still scrolling the page ?

推荐答案

我相信,移动浏览器冻结卷轴在所有DOM操作和JavaScript。所以,我不知道你正在做什么是可能的。

I believe that mobile browsers freeze all DOM manipulation and javascript during scrolls. So I'm not sure what you are trying to do is possible.

这篇关于JS事件独立的手指pressure的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆