PaginationRoot API
API reference for the PaginationRoot component.
| Name | Type | Default | Description |
|---|
namespace | string | "v0:pagination" | Namespace for dependency injection |
size | number | 1 | Total number of items |
totalVisible | number | — | Number of visible page buttons.
If undefined, auto-calculates based on container width. |
itemsPerPage | number | 10 | Number of items per page |
ellipsis | string | false | "..." | Ellipsis character |
modelValue | number | 1 | — |
| Name | Payload | Description |
|---|
update:model-value | T | T[] | — |
| Name | Slot Props | Description |
|---|
default | PaginationRootSlotProps | — |