Possibility to render using slots
See original GitHub issueCurrently the library wraps elements with div
tags (Draggable & Container). Could this be changed so that it doesn’t render any html and gives developer a scoped slot instead. If I understood the code correctly, it’s not possibly to use this with table rows?
Simirlarly as here: https://github.com/adamwathan/vue-shopify-sortable-demo
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Using templates and slots - Web Components | MDN
This article explains how you can use the and elements to create a flexible template that can then be used to populate the...
Read more >Option to render in next slot for each subsequent render
This is basic functionality in Cinema 4D. Every time you hit render you get a new render layer. There are no slots at...
Read more >Shadow DOM slots, composition
Then the browser performs “composition”: it takes elements from the light DOM and renders them in corresponding slots of the shadow DOM.
Read more >Vue render function: include slots to child component without ...
I can't use the scopedSlots option since this slot (for example) has no slot props, so the function is never called. return h(...
Read more >Slots - Vue Test Utils
VTU provides the slots mounting option for this purpose: ... You can also pass a render function, an object with template or even...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll see if I have time to help you with this in a form of pull request
Excellent library - really neat! Would be amazing if the Container component could act as a transition-group. Understandably the tag has to be an html tag: tag=“transition-group” gives “TypeError: n.removeChild is not a function” on render.