vue-dndrop icon indicating copy to clipboard operation
vue-dndrop copied to clipboard

Draggable as an attribute?

Open vikingvynotking opened this issue 2 years ago • 2 comments

Ok I can live with wrapping draggables inside a Container, but since I want my draggables to be custom elements, there seems no way to pass those in to Draggable itself: :tag="{value: 'my-custom-component'}" doesn't work since MyCustomComponent is not registered within Draggable. So as a work-around, would it be possible to add Draggable as an attribute? Then I could do the following:

<Container ...>
<my-custom-element :draggable="true" v-for="item in dataset" .../>
</Container>

That would make this library work for my use case and set it above all the other libraries out there that have the same limitation.

vikingvynotking avatar Jun 07 '22 14:06 vikingvynotking

This would be very much appreciated! Looking for the same solution.

FalkoJoseph avatar Jul 07 '22 00:07 FalkoJoseph

Any news about this request?

soufianekhait avatar Feb 06 '24 09:02 soufianekhait