简体   繁体   English

Android捏放大Javascript

[英]Android pinch zoom in Javascript

I've surfed all The net but I haven't already found an Answer or a Solution. 我已经上网了,但是还没有找到答案或解决方案。 I need to pinch zoom an element (specifically an image) in javascript (using Phonegap),but All the plugin that I've found seems to work only with iOS. 我需要在javascript(使用Phonegap)中缩放元素(特别是图像),但是我发现的所有插件似乎仅适用于iOS。 The plugins that I have tested are: Hammer iScroll scripty2 jquery touchy and the touchmove event of javascript. 我测试过的插件有:Hammer iScroll scripty2 jquery touchy和javascript的touchmove事件。 These plugins do not work, or work in spurts, in Android. 这些插件在Android中不起作用或突然出现。 I need a solution that works on both Android than on iOS Please help me to found a solution. 我需要一个适用于Android和iOS的解决方案。请帮助我找到解决方案。 I'm desperate. 我很绝望。 Thank you. 谢谢。

I normally use iScroll-4 on Android: is that the one that doesn't work? 我通常在Android上使用iScroll-4 :那是行不通的吗? which are the problems you're experiencing? 您遇到哪些问题?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM