AngularJS - jQuery UI的 - 结合问题 [英] AngularJS - jQuery UI - binding issue

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

问题描述

我目前移植的大型应用程序转移到基于HTML5的Web应用程序 - 我已经开始建设AngularJS应用程序,并享受AngularJS框架的强大 - 我有一个问题,我的方式站在目前:

I am currently porting a large application over to a HTML5 based web app - I have started building the app in AngularJS and enjoying the power of the AngularJS framework - I have one issue standing in my way currently:

我有一个指令,给了我一个jQuery日期选择器但是结合到模型似乎并不奏效。

I have a directive that gives me a jQuery Datepicker however the binding to the model does not seem to be working.

http://jsfiddle.net/9BRNf/

我可能误解的方式指示工作,想看看我是否可以修补我的框架的理解这一部分。我经历的例子了负载(包括在GitHub上angularui项目,但还没有做的,为什么结合是不会发生的意义上)

I am probably misunderstanding the way directives work and would like to see if I can patch this part of my understanding of the framework. I have gone through loads of examples (including the angularui project on github but still not making sense of why the binding is not happening)

任何帮助将大大AP preciated。

any assistance will be greatly appreciated.

推荐答案

首先,它的伟大,你正在使用angularjs,其甜美的框架。一个分支项目正式开工一段时间回来处理之类的东西包裹的jQuery的用户界面和创建UI模块。

First off, it's great that you are using angularjs, its a sweet framework. An offshoot project was started awhile back to deal with things like wrapping jquery-ui and creating ui modules.

下面是链接到彼得·培根达尔文的实现。

Below is link to Peter Bacon Darwin's implementation.

https://github.com/angular- UI /角UI /树/主/模块/指令/日期

- 丹

这篇关于AngularJS - jQuery UI的 - 结合问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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