jQuery Dynamic

授权协议 未知
开发语言
所属分类 jQuery 插件、 其他jQuery插件
软件类型 开源软件
地区 不详
投 递 者 令狐高洁
操作系统 未知
开源组织
适用人群 未知
 软件概览

Dragable, Dropable and Resizeable plugins in one pack.

$('#object').dragable({
clone: true,
opacity: 0.5,
target: '#otherobject',
over: function( obj, target ) {...},
out: function( obj, target ) {...},
drop: function ( obj , target) {...}
}).resizeable();

Parameters list:

* direction, resizeDirection - 'h' or 'v'
* edge - {x1, x2, y1, y2}
* start, move, end - dragable callback functions( o ) // start(o, dom event), move(o, dom event)
* over, moveover, out, drop - dropable target callback functions( o , target jquery object )
* resizeStart, resize, resizeEnd - resizeable callback functions( o )
* handlerPosition - custom function(o, handler jquery object) for setting the resize handler position
* moveHandler - move handler object / whatever that might be given to $()
* moveHandlerOutside - bool (false by default) - tells plugin to look moveHandler (jquery selector) outside of elem object (useful with mass dragging)
* / if not set, plugin will look inside of elem - $(moveHandler, o.elem)
* target - collection of target objects for dropping / whatever that might be given to $()
* renewTarget - target collection should be renewed before moving
* tolerance - 'intersect', 'leftcorn', 'pointer' - the way two object should intersect / todo: more modes
* clone - bool or callback(o, new jquery object) - do not drag the actual object, use clone
* cloneRemove - callback(o, cloned jquery object) - called before object.remove();
* / if returns false, object.remove() will not be called and also the position of the original element will not be updated
* / useful for drag'n'drop creation of objects
* moveReplacer - jquery object / can be used instead of clone / if both set, plugin will choose replacer
* / clone and cloneRemove callbacks, if set, will be called too with the same logic
* / moveReplacer will not be removed from dom anyway
* opacity, initialOpacity - (string) double - opacity of dragged object ( default element, cloned element, or replacer element - no matter)
* zIndex - if set, it will be used while dragging, and initial z-index from style will be restored on mouseup event
* proportion, min, max - {w, h}
* resizeHandlerClass - initial class for resize handler
* parent - jquery object of parent element / if edge is not set, it will be taken from parent element

  • I'm having an issue identical to this poster: Jquery problem with height() and resize() But the solution doesn't fix my issue. I have three stacked divs, and I want to use JQuery to make the middle on

  • 需要预先说明的一点是,不管是EasyUI也好,Bootstrap也罢,都可以认为是在CSS、Javascript、jQuery上再封装了一层。所以我们来看一个十分简单的例子: <a href="#" class="easyui-linkbutton">搜索</a> 1 其中easyui-linkbutton,不就在CSS里面定义了一个.easyui-linkbutton的样式么,猫哥也可以开发一个

  • I am attempting to add in some table sorting using the jquery tablesorter plugin to a Rally app using dojo, struggling with how to hook up the update callback for the tablesorter. I have html that loo

  • 本文翻译自:How to use jQuery with Angular? Can anyone tell me, how to use jQuery with Angular ? 谁能告诉我,如何在Angular中使用jQuery ? class MyComponent { constructor() { // how to query the DOM element f

相关阅读

相关文章

相关问答

相关文档