svelte-infinite-list
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

svelte-infinite-list

GitHub license

Create an infinite list of items with optimized rendering.

Installation

npm i --save-dev svelte-infinite-list # or yarn add -D svelte-infinite-list

Usage

<script>
  const alphabet = 'abcdefghijklmnopqrstuvwxyz'.split('')
</script>

<AsyncList
  class="h-full w-full hide-scroll"
  items={alphabet}
  itemsLoaded={5}
  let:item
>
  <p>{item}</p>
</AsyncList>

Buy me a ko-fi

Whether you use this project, have learned something from it, or just like it, please consider supporting it by buying me a coffee, so I can dedicate more time on open-source projects like this 😉 (personally I prefer hot chocolate but whatever)

ko-fi

License

Code released under GNU GPLv3 license.

Copyright ©, Olyno.

Readme

Keywords

Package Sidebar

Install

npm i svelte-infinite-list

Weekly Downloads

0

Version

1.0.0

License

GPL-3.0-or-later

Unpacked Size

250 kB

Total Files

18

Last publish

Collaborators

  • olyno