An infinite scroll component for Svelte apps
npm install svelte-infinite-loadingAn infinite scroll component for Svelte apps
About •
Features •
Installation •
Documentation •
Examples •
License
An infinite scroll component for Svelte, to help you implement an infinite scroll list more easily.
This is heavily inspired by vue-infinite-loading and uses most of its code and functionality!
- Mobile friendly
- Built-in spinners
- 2-directional support
- Load result message display
> If you're using this component in a Sapper application, make sure to install the package to devDependencies!
> More Details
With npm:
``shell`
$ npm install svelte-infinite-loading
With yarn:
`shell`
$ yarn add svelte-infinite-loading
With pnpm (recommended):
`shell`
$ npm i -g pnpm
$ pnpm install svelte-infinite-loading
From CDN (via unpkg):
`html
``
- Hacker News
- Hacker News with Filter
- Hacker News with Top Direction
- Hacker News using svelte-tiny-virtual-list
For more information on how to use this library, check the documentation!
You can find the documentation in the repository wiki