如何使emberjs应用程序的移动外观(像jquery移动)? [英] How to make emberjs app with a mobile look (like the one in jquery mobile)?

查看:113
本文介绍了如何使emberjs应用程序的移动外观(像jquery移动)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个简单的项目的移动使用Emberjs的Web应用程序。对于外观和感觉,我想要一个相当于JQuery Mobile的东西。有没有办法混合Emberjs和jquery移动?如果是,如何?

I have a simple project of a web application for mobile using Emberjs. For the look and feel, I want something equivalent to JQuery Mobile. Is there a way to mix Emberjs and jquery mobile? If so, how?

我看过Travis-ci移动应用程序,他们似乎只定义了移动版本的特定CSS。奇怪的是,他们也有这个文件:文件这似乎是一个尝试与JQMobile集成,但他们不使用它在代码中的任何地方。

I have looked at the Travis-ci mobile app and they seem to have only defined a specific css for the mobile version. What is strange is that they also have this file : file that seems to be an attempt to integrate with JQMobile but they don't use it anywhere in the code.

我也发现这篇文章使用Ember.js与jQuery UI ,但它是关于JQuery UI。我可以为JQuery Mobile使用相同的技术吗?

I also have found this article Using Ember.js with jQuery UI but it's about JQuery UI. Can I use the same technique for JQuery Mobile?

请分享您自己的使用Emberjs的移动外观的感觉。

Please share your own experience about having a mobile look and feel with Emberjs.

如果你知道GitHub上的任何开源项目或使用Emberjs移动的任何地方,我将非常感谢你让我知道地址。

If you know any open source project on GitHub or wherever that uses Emberjs for mobile I will be thankful if you let me know the address.

什么技术你推荐吗?

注意:我首先尝试在控制器生成的列表中使用jquery mobile的'data-'html5属性,该视图没有改变为jquery手机的外观和感觉,我不知道为什么。

Note: I have make a first attempt to use the 'data-' html5 attributes of jquery mobile within a list generated by a controller but the elements of the view don't have change to a jquery mobile look and feel and I not sure why.

对不起,我的英语,这不是我的母语。 >

Sorry for my English, it is not my mother tongue.

推荐答案

@luissala使用Ember与jQuery Mobile创建了一个概念验证项目。它可能会让您在正确的轨道上:

@luissala created a proof of concept project using Ember with jQuery Mobile. It might get you on the right track:

https ://github.com/LuisSala/emberjs-jqm

这篇关于如何使emberjs应用程序的移动外观(像jquery移动)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆