AngularsJS + jQuery Mobile的 [英] AngularsJS + jQuery Mobile

查看:271
本文介绍了AngularsJS + jQuery Mobile的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

还有没有其他的可能性,款式比在移动友好的方式在 AngularJS 应用 CSS

Are there other possibilities to style an AngularJS application in a mobile friendly way than CSS?

我策划一个移动应用程序,并希望使用的逻辑结合AngularJS和数据,但我不想风格对我自己的一切与 CSS

I am planning a mobile app and want to use AngularJS for the logic and data binding but I don't want to style everything on my own with CSS.

AngularJS 常见问题解答说,它使用的jQuery

The AngularJS FAQ says that it uses jQuery:

角是否使用jQuery库?
  是的,角度可以使用jQuery,如果它在你的应用程序present应用正在自举时。如果jQuery是不是在你的脚本路径present,角回退到自己的实现jQuery的子集,我们称之为jQLite的。

Does Angular use the jQuery library? Yes, Angular can use jQuery if it's present in your app when the application is being bootstrapped. If jQuery is not present in your script path, Angular falls back to its own implementation of the subset of jQuery that we call jQLite.

由于更改使用上()/关(),而不是绑定()/解除(),角1.2只用jQuery 1.7.1或以上的工作。

Due to a change to use on()/off() rather than bind()/unbind(), Angular 1.2 only operates with jQuery 1.7.1 or above.

但没有信息,我已经在该组织的方式 AngularJS +的jQuery 的FAQ可以用来找到。

but there is no information I have found in the FAQ on which way AngularJS + jQuery can be used.

正如你可以看到我试图让使用AngularsJS常见问题的信息,但无法发现它。

As you can see I have tried to get the information using AngularsJS FAQ, but could not found it.

你有没有发现 AngularJS 的一些示例(S)与 jQuery Mobile的的造型?

Have you found some example(s) of AngularJS with jQuery Mobile for styling?

推荐答案

有已经上的 SO 来比较 AngularJS jQuery Mobile的

和在回答你可以找到一些信息 - 它是一种进一步阅读你

And in the answer you can find some information - it is kind of further reading for you.

而arcticle jQuery Mobile的和AngularJS携手共建应该给你answe您的问题。它有一些建议,例如:

And the arcticle jQuery Mobile and AngularJS Working Together should give you answe to your question. It has some advices, for example:

AngularJS之前加载JQM库

Load jQM libs before AngularJS

让JQM处理URL路由

Let jQM handle the URL routing

等。

这篇关于AngularsJS + jQuery Mobile的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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