xworker.html.jqueryesayui.base.draggable/@proxy1
事物 proxy(proxy)

- 父事物:
- draggable
- 描述者:
- 事物
- MetaDescriptor3
- thing
- 继承:
- EasyUIFunction
A proxy element to be used when dragging, when set to 'clone', a clone element is used as proxy. If a function is specified, it must return a jQuery object.
The example below shows how to create a simple proxy object.
$('.dragitem').draggable({
proxy: function(source){
var p = $('<div style="border:1px solid #ccc;width:80px"></div>');
p.html($(source).html()).appendTo('body');
return p;
}
});
code
-
label
-
name
-
params
-
useChildsCode
是否使用子节点生成代码。
toHtml
-
toJavaScriptCode
-
-
-