vue-dndrop
vue-dndrop copied to clipboard
Draggable as an attribute?
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.
This would be very much appreciated! Looking for the same solution.
Any news about this request?