[英]Library for Additional touch events
While on an iOS device, we get events like touchstart
, touchmove
,... end, gesturestart
, ...move and ..end out of the box.. I wanted to know which free library can be used to get/listen to additional events eg Swipe, scrolling related, etc虽然在iOS设备上,我们得到这样的事件touchstart
, touchmove
,......最后, gesturestart
,...移动和..end箱子了..我想知道哪些免费的图书馆可以用来获取/听其他事件,例如滑动、滚动相关等
I know Sencha touch is the best..But before you say that, I wanted to tell that I am looking for a free library..我知道 Sencha touch 是最好的..但在你说之前,我想告诉你我正在寻找一个免费的图书馆..
Also, can we get to know the code for the default implementation.. eg When we do the 1-finger slide, the page scrolls automatically.. But there must be some code to do that.. Can we know the code which does that ?另外,我们能否了解默认实现的代码.. 例如,当我们进行单指滑动时,页面会自动滚动.. 但是必须有一些代码来做到这一点.. 我们能知道这样做的代码吗? ?
Some quick googling found these:一些快速的谷歌搜索发现了这些:
(and even faster skimming led me to believe that the second one is better) (甚至更快的浏览让我相信第二个更好)
However it should be noted thatall those 'touch' events are actually other events in disguise: http://developer.apple.com/library/ios/#DOCUMENTATION/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html但是应该注意的是,所有这些“触摸”事件实际上都是伪装的其他事件: http : //developer.apple.com/library/ios/#DOCUMENTATION/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.