app-framework学习-----使用jquery
我们可以使用jquery 和 afui开发,而不需要使用appframework.js(经过测试完全可行)
只需在<
script
src
=
"af.ui.jquery(.min).js"
></
script
>之前引入jquery文件即可
下面是官方说明:
Use jQuery* and App Framework UI
With App Framework 2.1, you can now use jQuery and App Framework UI, instead of using appframework.js. We have created a jQuery* plugin called jq.appframework.js. Now you do not have to worry about conflicts with jQuery* plugins and App Framework.Using the plugin
To use the plugin, include jQuery* first, then the compiled App Framework files for jQuery* found in the build folder
1
2
|
< script src = "jquery.js" ></ script > < script src = "af.ui.jquery(.min).js" ></ script > |
jq.appframework.js下载地址:http://download.csdn.net/detail/haozq2012/7693813
欢迎加入学习交流群:333492644