开发者

jquery mobile finger(s) detection

开发者 https://www.devze.com 2023-04-06 17:16 出处:网络
With jquery mobile, is it possible to detect the number of fingers that are on the screen? I a开发者_高级运维m an UI student trying to put together an application for a school project. Essentially I n

With jquery mobile, is it possible to detect the number of fingers that are on the screen? I a开发者_高级运维m an UI student trying to put together an application for a school project. Essentially I need to have a different feedback for one, two and three finger swipe but I am not sure on how jquery mobile or TouchSwipe plug-in do detection.

Thank you.


jQuery mobile (as of version 1.03b) only supports basic swipes, and does not distinguish between 1, 2, and 3 fingers.

touchSwipe (as of version 1.2.4) does support multi-finger swipes by passing in a finger option, however, the options are limited to either 1 or 2 fingers.


To my knowledge, there is currently no support for multiple fingers in jquery mobile and last time i checked TouchSwipe, it didn't feature that either. But there is another plugin - jQuery Multiswipe that should support multiple fingers. http://plugins.jquery.com/project/multiswipe

0

精彩评论

暂无评论...
验证码 换一张
取 消