Pagination bar
Pagination bar
Component demo
Interactive example
<ic-pagination-bartotal-items="100"></ic-pagination-bar>
Pagination bar details
Props
All components also accept native properties supported by the DOM, such asclassName
and
style
.
|
|
|
---|---|---|
|
Total number of items to be displayed across all pages. |
|
|
Sets the alignment of the items in the pagination bar. |
|
|
The current page number to be displayed on the pagination bar. |
|
|
If |
|
|
If |
|
|
The text which will be used in place of 'Item' on the pagination bar. |
|
|
The options which will be displayed for 'items per page' select input. |
|
|
If |
|
|
The text which will be used in place of 'Page' on the pagination bar. |
|
|
Whether total number of items and current item range or total number of pages and current page is displayed. |
|
|
If |
|
|
The items per page option to be selected. |
|
|
If |
|
|
If |
|
|
If |
|
|
Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component. |
|
|
Whether the displayed pagination is simple or complex. |
|
Total number of items to be displayed across all pages. |
Sets the alignment of the items in the pagination bar. |
The current page number to be displayed on the pagination bar. |
If |
If |
The text which will be used in place of 'Item' on the pagination bar. |
The options which will be displayed for 'items per page' select input. |
If |
The text which will be used in place of 'Page' on the pagination bar. |
Whether total number of items and current item range or total number of pages and current page is displayed. |
If |
The items per page option to be selected. |
If |
If |
If |
Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component. |
Whether the displayed pagination is simple or complex. |
Events
All components also accept native events supported by the DOM, such as
onClick
and
onKeyDown
.
|
|
|
---|---|---|
|
|
|
|
|
|
|
|
Variants
Show items per page control
Interactive example
<ic-pagination-bartotal-items="100"show-items-per-page-control="true"></ic-pagination-bar>
Go to page control
Interactive example
<ic-pagination-bartotal-items="100"show-go-to-page-control="true"></ic-pagination-bar>
Alignment left
Interactive example
<ic-pagination-bartotal-items="100"alignment="left"show-items-per-page-control="true"></ic-pagination-bar>
Alignment space between
Interactive example
<ic-pagination-bartotal-items="100"alignment="space-between"show-items-per-page-control="true"></ic-pagination-bar>
Range label type
Interactive example
<ic-pagination-bartotal-items="100"range-label-type="data"></ic-pagination-bar>
Item label
Interactive example
<ic-pagination-bartotal-items="100"range-label-type="data"item-label="Coffee"show-items-per-page-control="true"></ic-pagination-bar>
Complex
Interactive example
<ic-pagination-bartotal-items="100"type="complex"></ic-pagination-bar>
Hide range label
Interactive example
<ic-pagination-bartotal-items="100"hide-range-label="true"></ic-pagination-bar>
Hide all from items per page
Interactive example
<ic-pagination-bartotal-items="100"show-items-per-page-control="true"hide-all-from-items-per-page="true"></ic-pagination-bar>