【发布时间】:2012-04-29 11:04:01
【问题描述】:
我正在尝试让 jqueryui 拖放以使用 emberjs。我在这里设置了一个小提琴:http://jsfiddle.net/XMgwV/13/ 但我似乎无法触发 drop 事件。 mixin 来自这个演示:http://www.lukemelia.com/blog/archives/2012/03/10/using-ember-js-with-jquery-ui/
编辑:
如果我将 jQueryUI 可拖动辅助函数更改为“原始”,它会按预期工作。这似乎是 jquery ui .clone() 和 ember 的问题,正如 #7 here 中所指出的那样。 codebrief博文中的safeClone方法好像不是solve the problem fully..
有人知道如何让它按预期工作吗?
【问题讨论】:
标签: jquery-ui ember.js jquery-ui-draggable jquery-ui-droppable