Properties
Property | Attribute | Description | Type | Default |
---|
current | current | Its corresponding current page. | number | DEFAULT_ATTRIBUTE.current |
disabled | disabled | indicates if the pagination is entirely disabled. it means no interactions (hover, click, focus, etc) | boolean | DEFAULT_ATTRIBUTE.disabled |
labelTooltipNext | label-tooltip-next | The label of the tooltip on the arrow next | string | DEFAULT_ATTRIBUTE.labelTooltipNext |
labelTooltipPrevious | label-tooltip-previous | The label of the tooltip on the arrow previous | string | DEFAULT_ATTRIBUTE.labelTooltipPrevious |
totalItems | total-items | The total number of items. | number | undefined | undefined |
totalPages | total-pages | The total amount of pages. | number | DEFAULT_ATTRIBUTE.totalPages |
Events
Event | Description | Type |
---|
odsPaginationChanged | Emitted when the value has changed | CustomEvent<OdsPaginationChangedEventDetail> |
Dependencies
Depends on
- osds-button
- osds-icon
- osds-text
Graph
graph TD;
osds-pagination --> osds-button
osds-pagination --> osds-icon
osds-pagination --> osds-text
style osds-pagination fill:#f9f,stroke:#333,stroke-width:4px
Built with StencilJS