Pagination
Pagination
Component demo
Interactive example
<ic-paginationpages="15"></ic-pagination><ic-paginationpages="15"type="complex"></ic-pagination>
<IcPaginationpages={15}/><IcPaginationpages={15}type="complex"/>
Pagination details
Props
All components also accept native properties supported by the DOM, such asclassName
and
style
.
|
|
|
---|---|---|
|
The total number of pages. |
|
|
The number of pages displayed adjacent to the current page when using 'complex' type pagination. Accepted values are 0, 1 & 2. |
|
|
The appearance of the pagination, e.g. dark, light or the default. |
|
|
The number of pages displayed as boundary items to the current page when using 'complex' type pagination. Accepted values are 0, 1 & 2. |
|
|
The current page displayed by the pagination. |
|
|
The default page to display. |
|
|
If |
|
|
If |
|
|
If |
|
|
The label for the pagination item (applicable when simple pagination is being used). |
|
|
The type of pagination to be used. |
|
|