Skip to content

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

Open
@nkamuo

Description

@nkamuo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions