jquery-mobile - jQuery Mobile 与 smoothState.js?

标签 jquery-mobile mobile mobile-website usability

如果我已经在使用 jQuery Mobile -- 就是 http://css-tricks.com/add-page-transitions-css-smoothstate-js/ (http://weblinc.github.io/jquery.smoothState.js/)可能/值得实现吗?

最佳答案

我确实没有看到将 jQuery Mobile 与 smoothState.js 结合使用有什么好处。 jQuery Mobile 已经可以做 smoothState.js 可以做的一切,您只需要学习如何做。尽管 smoothState.js 对所有内容都有更好的描述,而且您不需要使用无数不同的页面事件。但要同时使用它们,您需要关闭 jQuery Mobile Ajax 处理。

基本上我希望看​​到 jQuery Mobile 框架内使用 smoothState.js 方法。

如果您确实需要它的 UI,我的建议是坚持使用 jQuery mobile,对于其他所有内容,请使用 smoothState.js,当然,如果您想要无缝导航。

关于jquery-mobile - jQuery Mobile 与 smoothState.js?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25602240/

相关文章:

javascript - 在同一目标上使用 PointerEvents 检测两个手指触摸

jquery-mobile - jQuery Mobile + backbone.js : page transition when going back

JQuery Mobile 动态填充的可折叠集丢失圆角

rest - 保护移动应用程序无需登录即可访问的 REST-API

java - 更改 Java Android 中的 UI

javascript - 强制门户上的权限弹出窗口

未在 iOS Safari 或 Chrome 中设置或发送请求的 Cookie 适用于所有 Android 和桌面浏览器

android - Cordova 移动应用程序和 Dropbox API v2

javascript - 停止显示页面

android - 如何知道我的手机使用的互联网连接类型