UI LibraryUI Library
Guide
Components
Styling
Repo
Guide
Components
Styling
Repo
  • Guide

    • Introduction
    • Getting Started
  • Components

    • CataUiAccordion
    • CataUiAccordionItem
    • CataUiAlert
    • CataUiAnchorMenu
    • CataUiBadge
    • CataUiButton
    • CataUiCollapse
    • CataUiDraggable
    • CataUiDropdown
    • CataUiDropover
    • CataUiFileTree
    • CataUiIcon
    • CataUiIconSwitch
    • CataUiInput
    • CataUiInputCheckbox
    • CataUiInputColor
    • CataUiInputDate
    • CataUiInputGroup
    • CataUiInputRadio
    • CataUiInputSearch
    • CataUiInputSelect
    • CataUiMasonry
    • CataUiMasonryTile
    • CataUiLogo
    • CataUiModal
    • CataUiPaginate
    • CataUiProgress
    • CataUiSpinner
    • CataUiStatusLabel
    • CataUiSwitch
    • CataUiTable
    • CataUiTableAG
    • CataUiTableFooter
    • CataUiTabs
    • CataUiTabSwitch
    • CataUiTooltip
  • Styling

    • Colors
    • Icons
    • Typography
    • Utils

CataUiPaginate

Component for displaying pagination controls, allowing users to navigate between pages of data.

<CataUiPaginate
    :maxItems="8"
    :pageSize="25"
    :startPage="1"
    :total="100"
    @update="onUpdate($event)" />

Props

PropDescriptionTypeDefaultRequired
maxItemsMaximum number of pagination items to displayNumber10false
pageSizeNumber of data items to display per pageNumbertrue
startPageInitial active page numberNumber1false
totalTotal number of items in the datasetNumbertrue

Events

EventDescriptionPayload
updateEmitted when page changes, either by clicking a page number or navigation buttonsObject containing currentPageSize, isFirstPage, isLastPage, page, pageCount

Payload Example

{
  currentPageSize: 10, // Current items per page
  isFirstPage: false,  // Whether current page is the first page
  isLastPage: false,   // Whether current page is the last page
  page: 2,             // Current active page number
  pageCount: 7         // Total number of pages
}
Prev
CataUiModal
Next
CataUiProgress