Progressive swipe on jQuery Mobile panel

人走茶凉 提交于 2019-12-24 21:42:56

问题


I'm developing an application with Phonegap & jQuery Mobile, and it should have a menu panel that can be opened by a swipe gesture. I implemented the code to open it on swipe, but I would like it to be progressive, such as on native apps (facebook, g+ and others...).

Does anyone know how to do it ?

Thanks for help :)


回答1:


You can try this plugin : https://github.com/jakiestfu/Snap.js We used that plugin on one of our projects, it works well on iOS phonegap app, on android there are lags.



来源:https://stackoverflow.com/questions/17783577/progressive-swipe-on-jquery-mobile-panel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!