Closed jeremyjacob closed 1 year ago
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!
I love the animate directive and Svelte's
flip
function. Is there a way to use that with theVirtualList
?