svelte-scroll-infinite Svelte Themes

Svelte Scroll Infinite

Infinite scroll for Svelte

Svelte Infinite Scroll

Demo REPL

Install

npm i svelte-scroll-infinite --save-dev

Props

Name Type Description Required Default
hasMore bool Indicator if there are any items to load No true
threshold number Threshold to call loadMore No 100

Events

  • loadMore - Call with offset

Warning

⚠️You also want to add the intersection-observer polyfill for full browser support.

License

MIT © Taras Gordienko

Top categories

Loading Svelte Themes