svelte-tiny-virtual-list
svelte-tiny-virtual-list copied to clipboard
Support for use of animate: directive
I love the animate directive and Svelte's flip function. Is there a way to use that with the VirtualList?
I'm guessing you mean something like this:
<!-- When `list` is reordered the animation will run-->
{#each list as item, index (item)}
<li animate:flip>{item}</li>
{/each}
And it might be possible, there's an #each-directive inside the component after all, but I don't have many hopes that it works well... I'll try it out!