mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(pagination-nav)!: use 1-indexing to be consistent with Pagination
(#1518)
Fixes #1513
This commit is contained in:
parent
9198ed5474
commit
8d55752a18
7 changed files with 49 additions and 31 deletions
|
@ -2695,7 +2695,7 @@ None.
|
|||
|
||||
| Prop name | Required | Kind | Reactive | Type | Default value | Description |
|
||||
| :----------- | :------- | :--------------- | :------- | -------------------- | ---------------------------- | ----------------------------------------- |
|
||||
| page | No | <code>let</code> | Yes | <code>number</code> | <code>0</code> | Specify the current page index |
|
||||
| page | No | <code>let</code> | Yes | <code>number</code> | <code>1</code> | Specify the current page index |
|
||||
| total | No | <code>let</code> | No | <code>number</code> | <code>10</code> | Specify the total number of pages |
|
||||
| shown | No | <code>let</code> | No | <code>number</code> | <code>10</code> | Specify the total number of pages to show |
|
||||
| loop | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to loop the navigation |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue