v1.2.0

Pagination

The Pagination component enables the user to select a specific page from a range of pages.

Basic

<me-pagination count="10" page="1"></me-pagination>

Outlined

Rounded Shape

Sizes

Color

Disabled

API

Attribute / PropertyTypeDefaultDescription
countnumber1Total number of pages.
pagenumber1Currently selected page.
varianttext | outlinedtextVisual style variant.
shapecircular | roundedcircularShape of page buttons.
sizesmall | medium | largemediumSize of page buttons.
colorprimary | secondaryprimaryColor of the selected page.
disabledbooleanfalseDisables all interactions.
sibling-countnumber1Number of pages on each side of current page.
boundary-countnumber1Number of pages at each end.
hide-prevbooleanfalseHides the previous button.
hide-nextbooleanfalseHides the next button.

Events

EventDetailDescription
me-change{ page }Fired when the selected page changes.