Skip to content
On this page

VPagination

Props

NameTypeDescription
aria-currentEnum:
page
step
location
date
time
true
false
Indicates the element that represents the current item within a container or set of related elements.
sizeEnum:
super-condensed
condensed
normal
The size the pagination should have.
shapeEnum:
rounded
pill
The shape the pagination should have.
nav-iconsboolean
totalnumber
selected-indexnumber

Events

NameEvent TypeDescription
clickMouseEventFires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element.
focusFocusEventFires when the element receives focus.
blurFocusEventFires when the element loses focus.
keydownKeyboardEventFires when a key is pressed.
keyupKeyboardEventFires when a key is released.
inputEventFires when the value of an element has been changed.
pagination-changeCustomEvent<{selectedIndex: number, total: number, oldIndex: number}>Fires when the page changes.

Methods

NameTypeDescription
totalChanged(_: number,newValue: number) => unknown
selectedIndexChanged(oldValue: number,newValue: number) => unknown
paginationButtonsChanged`(_: HTMLButtonElement[]undefined,newValue: HTMLButtonElement[]) => unknown`