sortablejs-vue3 icon indicating copy to clipboard operation
sortablejs-vue3 copied to clipboard

Provide Props for wrapper Component `:component-data={...}`

Open nkamuo opened this issue 5 months ago • 0 comments

When the Sortable Component is used along with a root component to wrapper the items.

For instance, I need to render a TimelineView: <Sortable tag="TimelineView" :component-data={density: 'compact', truncateLine: 'both'}"> <template #item="{element: node,index}"> <TimelineViewItem> {{ node.address.company }} </TimelineViewItem> </template> </Sortable>

This seems to always fail cause there is no way to pass ComponentData to the wrapper Tag,Element or Component

nkamuo avatar Aug 31 '24 07:08 nkamuo