iron-elements
iron-elements copied to clipboard
Drag and drop
Can we still use the old core-drag-drop element? If not what can we use to implement drag and drop?
The old core-drag-drop
will not work in Polymer 1.0, but I think @kevinpschaaf has been working on something related to this.
+1 for drag and drop element! :+1:
Meanwhile you can integrate a library like InteractJS. Check this sample of a Polymer 1+ element that uses it to add drag/drop behavior. http://hugozap.com/polymer-practice/dist/interact-dragdrop1.html
/cc @kevinpschaaf
For those interested, sortable seems like a nice alternative. This mentions that it already has polymer support, already wrapped as a component!
hi @kevinpschaaf what is the status of this ?
@albertolobrano I'm not doing any active work on this currently. What @notwaldorf was referring to was a proof-of-concept I did a while back on a <dom-reorderer>
element: http://jsbin.com/setaci/5/edit?html,output. I don't have plans at the moment to take that to a supported element, but happy to share it in case it's useful.
@albertolobrano @kevinpschaaf I have prototyped some drag/drop primitives and might be able to introduce something soon.
@kevinpschaaf @cdata thanks for the update
@hugozap thanks! i was able to nest the element in the example div and it worked perfectly!
+1
+1
+2
+1
This is a great component for a draggable and resizeable div http://manekinekko.github.io/drag-resize/ by @manekinekko. It is dependent on core-elements.
<link rel="import" href="../core-drag-drop/core-drag-drop.html">
<link rel="import" href="../core-tooltip/core-tooltip.html">
Are these capabilities going to be implemented in the iron elements? I could use the capabilities of the drag-resize component in my application.
Thank you, Loren
Any update / plans / schedule on this? hank you
Any update on this ???
+1
+1
+1
+1
https://beta.webcomponents.org/element/ergo/polymer-dragula - I've made this and it seems work like a charm in shady dom - including nesting, demo 1 also works with shadow dom enabled - but demo 2 breaks - i think this requires some changes in dragula itself to support.
https://github.com/bevacqua/dragula/issues/418 probably would solve this completly?
+1 Any update on this?
+1 Any update on this?
+1
+1
+1