Framework:
  • JavaScript / Vanilla JS
  • React.js
  • Vue.js
On this page

Loading...
## Overview Angular smart pagination component consists of button-like styled links, that are arranged side by side in a horizontal list. We use a large block of connected links for our pagination, making links hard to miss and easily scalable — all while providing large hit areas. SmartPagination is built with list HTML elements so screen readers can announce the number of available links. SmartPagination also role="navigation" to identify it as a navigation section to screen readers and other assistive technologies. In addition, as pages likely have more than one such navigation section, SmartPagination provide a descriptive aria-label. ## Features - Determine behavior, style and functionality of pagination - Smart automatic items generation ## Examples ---
--- ### Working with icons Looking to use an icon or symbol in place of text for some pagination links? SmartPagination will provide screen reader support for 'firstButton', 'previousButton', 'nextButton' and 'lastButton'.
--- ### Sizing Fancy larger or smaller pagination? Add size="lg" or size="sm" for additional sizes.
--- ### Alignment Change the alignment of pagination components with align="start", align="center" or align="end" [flexbox utilities](https://coreui.io/docs/utilities/flex/).
| name | description | type | default | | ---- | ----------- | ---- | ------- | | `activePage` | Current page number | `number` | _1_ | | `arrows` | Show/hide arrows | `boolean` | _true_ | | `doubleArrows` | Show double arrows buttons | `boolean` | _true_ | | `dots` | Show dots | `boolean` | _true_ | | `firstButton` | The content of first button | `string` | _«_ | | `lastButton` | The content of last button | `string` | _»_ | | `limit` | Maximum items number | `number` | _5_ | | `pages` | Number of pages | `number` | _1_ | | `nextButton` | The content of next button | `string` | _›_ | | `previousButton` | The content of prev button | `string` | _‹_ | | `size` | Size of pagination | `sm`, `lg` | '' | | `role` | role attr | `string` | _navigation_ |
--- #### Outputs
| name | description | type | | ---- | ----------- | ---- | | `activePageChange` | Event emitted on `activePage` change | `number` |
  • GitHub
  • Twitter
  • Support
  • CoreUI (Vanilla)
  • CoreUI for React.js
  • CoreUI for Vue.js

CoreUI for Angular is Open Source UI Components Library for Angular.

Currently v5.2.23 Code licensed MIT , docs CC BY 3.0 .
CoreUI PRO requires a commercial license.