jonasgeiler / svelte-tiny-virtual-list

A tiny but mighty list virtualization library for Svelte, with zero dependencies 💪 Supports variable heights/widths, sticky items, scrolling to index, and more!
https://svelte-tiny-virtual-list.jonasgeiler.com
MIT License
405 stars 23 forks source link

fix: correct detail props of `itemsUpdated` #12

Closed wd-David closed 2 years ago

wd-David commented 2 years ago

Hi @Skayo, thank you for this great library!

I found itemsUpdated return startIndex & stopIndex instead of start & end. So I changed the props to match index.d.ts and your doc.

jonasgeiler commented 2 years ago

Thank you! Guess I should release a new major version so nothing breaks for existing users/dependents...