mirror of
https://github.com/directus/directus.git
synced 2026-02-03 14:15:03 -05:00
* move component docs to documentation * update app docs tables for components * update docs * Add components to docs sidebar * fix generated tables * fix tables * rename transitions * update tables * update nested components * update tables * update tables * update tables * update v-table table * add basic documentation to each component * remove all stories of storybook * add missing documentation * undate tables * update tables * update docs sidebar * update app docs * remove unused references * add general readme * update docs * make reference titiles smaller * add reference tag * improve docs * update order of tabs in sidebar * remove all readmes and stories from interfaces/displays * Cleanup menu * Remove storybook Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
1.2 KiB
1.2 KiB
Pagination
Add a pagination to a list or similar to allow for access to multiple pages.
Usage
<v-pagination v-model="currentPage" :lenght="6" />
Reference
Props
| Prop | Description | Default | Type |
|---|---|---|---|
length* |
The amount of pages to render | null |
Number |
value |
Currently selected page | null |
Number |
disabled |
Disables the pagination | false |
Boolean |
total-visible |
Specify the max total visible pagination numbers | undefined |
Number |
show-first-last |
Show first/last buttons | false |
Boolean |
Events
| Event | Description | Value |
|---|---|---|
input |
When the page changes | number |
CSS Variables
| Variable | Default |
|---|---|
--v-pagination-active-color |
var(--primary) |