javadoug / jquery.drag-multiple Goto Github PK
View Code? Open in Web Editor NEWA jQueryUI plugin enabling the selection, drag and drop of multiple ui-draggable elements.
License: MIT License
A jQueryUI plugin enabling the selection, drag and drop of multiple ui-draggable elements.
License: MIT License
This plugin looks good, but revert is not working. How do we deal with revert if the item is not dropped onto a droppable?
I'm trying to use your plugin with jquery 1.11.1 but when I try to drag a div the other divs get a random position when a start to drag.
See a very basic example on: http://oud.digirent.nl/jqui11/examples/multidrag.html
I hope you can tell me what am I doing wrong or perhaps it is a bug in the plugin.
Hello!
Is there any possibility to add support for the "containment" option?
Currently the containment only works on the object where the mouse is hover, as a result the other objects can be dragged off the containment area.
Thanks for this great plugin!
This is a very nice plugin. I'm developing a calendaring application and needed this but I am using "helper: 'clone'" when creating draggable events on my timeline. Now that I'm adding the ability to select and move multiple events (using jQuery's .selectable()) I am wondering how easy it would be to clone the original elements on drag start. My users would need to a visual aid to know where the original events were located. Thanks!
Rev 1:
ability to provide a dom element: helper: function(jqEvent) { return dragmultiplehelper; }
ability to say no helper: helper: false
ability to say clone: helper: "clone"
Out of Scope:
tighter integration with draggable instance. It is not clear what the requirements should be. So declaring drag-multiples' own helper makes the most sense to me.
Thank you for your help, but the plugin does not.
jQuery 1.9.1
jQuery 1.11.4
THX,
@javadoug : If I use css transform rotate to drag multiple object then rotated element jumped and not placed correctly. I updated css in example file example/index.html
#draggable2 {
top: 60px;
transform: rotate(20deg);
}
I just checked Bower for this package and it looks like a fork recently made its way over there. I do think this package should be on Bower as it would make it easier to include in projects, but I think the canonical version (i.e., this repo) should be there and not a fork, since this repo is where updates are going.
@ludamillion: are you willing to collaborate on this effort?
Hi, your plugin say : "drag and drop of multiple ui-draggable elements" but dropping multiple elements doesn't work ?! is there any chance to have this option added ? thanks
Thanks for this awesome plugin! I've implemented support for the stack
option a while back in my fork, and I hope to write some tests and then submit a PR.
I wanted to use your plugin, but it seems it doesn't work.
This is the issue: Uncaught TypeError: Cannot set property 'multiple' of undefined (line 74).
I use:
"jquery": "~2.0.3",
"jquery-ui": "~1.10.3",
The $.Widget factory changed the namespace used to store the plugin instance on an element's dataset.
To be backwards compatible, support both names.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.