Svelte Infinite Loading Save

An infinite scroll component for Svelte, to help you implement an infinite scroll list more easily.

Project README

InfiniteLogo

svelte-infinite-loading

An infinite scroll component for Svelte apps

NPM VERSION NPM DOWNLOADS DEPENDENCIES

AboutFeaturesInstallationDocumentationExamplesLicense

About

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!

Features

  • Mobile friendly
  • Built-in spinners
  • 2-directional support
  • Load result message display

Installation

If you're using this component in a Sapper application, make sure to install the package to devDependencies!
More Details

With npm:

$ npm install svelte-infinite-loading

With yarn:

$ yarn add svelte-infinite-loading

With pnpm (recommended):

$ npm i -g pnpm
$ pnpm install svelte-infinite-loading

From CDN (via unpkg):

<!-- UMD -->
<script src="https://unpkg.com/svelte-infinite-loading@^1/dist/svelte-infinite-loading.js"></script>

<!-- ES Module -->
<script src="https://unpkg.com/svelte-infinite-loading@^1/dist/svelte-infinite-loading.mjs"></script>

Examples / Demo

For more information on how to use this library, check the documentation!

Documentation

You can find the documentation in the repository wiki

License

MIT License

Open Source Agenda is not affiliated with "Svelte Infinite Loading" Project. README Source: jonasgeiler/svelte-infinite-loading
Stars
255
Open Issues
11
Last Commit
1 month ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating