Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nkamuo opened this issue Aug 31, 2024 · 0 comments
Open

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

nkamuo opened this issue Aug 31, 2024 · 0 comments

Comments

@nkamuo
Copy link

nkamuo commented Aug 31, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant