Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make emberjs app with a mobile look (like the one in jquery mobile)?

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?

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.

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?

Please share your own experience about having a mobile look and feel with 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.

What Technique do you recommend?

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.

like image 244
tolbard Avatar asked Oct 09 '22 09:10

tolbard


2 Answers

As stated in the Ember.js wiki there are two projects concerning mobile:

  • ember-titanium - Titanium Mobile wrapped in Ember (formerly SproutCore-Titanium)
  • ember-mk - Mobile Kit for ember.js

Maybe they are useful for you.

like image 186
pangratz Avatar answered Oct 20 '22 13:10

pangratz


@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

like image 2
commadelimited Avatar answered Oct 20 '22 13:10

commadelimited