open-vault/ui/stories/pagination-controls.md

1.1 KiB

PaginationControls

PaginationControls components are used to paginate through item lists

Params

Param Type Default Description
total number total number of items
[startPage] number 1 initial page number to select
[size] number 15 number of items to display per page
onChange function callback fired on page change

Example

<PaginationControls @startPage={{1}} @total={{100}} @size={{15}} @onChange={{this.onPageChange}} />

See