<uimc-pagination id="" current="1" total="5"></uimc-pagination>
Attribute | Description | Values | Default |
---|
total | Sets the total number of pages | Number | 1 |
current | Sets the current page number | Number | 1 |
theme | Set the color scheme of the component | light , dark | light |
Callback | Argument | Description |
---|
onClick | pageNumber | Pass a callback function that gets triggered when a pagination item is clicked |
Working sample
<uimc-pagination id="pagination" current="1" total="5"></uimc-pagination>
Dark theme
<uimc-pagination id="pagination-dark" current="1" total="5" theme="dark"></uimc-pagination>