如果我已经在使用 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/