Skip to content

EnPagination ​

Preview ​

Props ​

NameDescriptionDefaultControl
perPage

Sets how many items should be on each page.

number
25
list

The list of items that is being paginated.

array<T>
[]complex object
modelValue
number
1
alwaysShow

Automatically hides pagination if there is only one page of data.

boolean
false
showPageNumbers

Shows page number navigation.

boolean
true
showPageState

Shows current page set and total pages.

boolean
false
siblingCount

Number of page buttons to show on each side of the current page when the list is windowed with ellipses. Used as the value when autoResize is off, and as the initial/fallback value when it is on.

number
1
autoResize

Automatically shrinks/grows the number of visible page buttons to fit the available width, using a ResizeObserver on the pager.

boolean
true

Slots ​

No slots defined.

Events ​

update:model-value

No description

pageChange

No description

Methods ​

No methods defined.