Pagination
Move through a known number of pages.Examples
Installation
Install the package, then import only the components a route uses. Exports are tree-shakable.
Install
pnpm add fractalsvelteImport
<script lang="ts">
import { Pagination } from 'fractalsvelte';
</script>Usage
Usage
<script lang="ts">
import { Pagination } from 'fractalsvelte';
</script>
<Pagination pageCount={10} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
pageCount | number | - | Total number of pages. |
page | number | 1 | The current page. Supports bind:. |
