Pagination
A component to navigate through paginated content.
Usage
Demonstration

Props
onChange
onChange
TYPE
DEFAULT VALUE
Function
: (item: Number) -> *
None
Gets called when the selected page changes. Takes the new index as a unique parameter.
pages
pages
TYPE
DEFAULT VALUE
Number
0
The total amount of pages.
selected
selected
TYPE
DEFAULT VALUE
Number
0
The currently selected page (zero based numbering).
touchMode
touchMode
TYPE
DEFAULT VALUE
Boolean
false
When true
, adapts the component to touch screens by making the targets bigge
Last updated
Was this helpful?