mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
docs(pagination): document pagesUnknown
This commit is contained in:
parent
cdf5659fa0
commit
2486ba4fc7
1 changed files with 8 additions and 0 deletions
|
@ -19,6 +19,14 @@ components: ["Pagination", "PaginationSkeleton"]
|
|||
|
||||
<Pagination totalItems={102} pageSizes="{[16, 36, 99]}" pageSize="{36}" />
|
||||
|
||||
## Unknown pages
|
||||
|
||||
If the total number of pages is unknown, set `pagesUnknown` to `true`.
|
||||
|
||||
This will render the item range text without factoring in the total number of pages.
|
||||
|
||||
<Pagination pagesUnknown />
|
||||
|
||||
## Page window
|
||||
|
||||
The number of native select items rendered is derived from the value of `totalItems`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue