pageRange
pageRange
defines a range of pages that should be display around current page. For example, if current page number is 6
and pageRange is set to 2
, then pagination bar will be displayed as like this '1 ... 4 5 6
7 8 ... 11 12'.
If you want to show all pages, just set it to 0
.
optional
- Default:
2
- Type:
number