Pagination
You're browsing the documentation for v3
Pagination
Overview
The Pagination component generates indicator dots.
Properties
items
items:PaginationItem[]
An array with data of each page. The data object contains following properties:
li | HTMLLIElement |
---|---|
button | HTMLButtonElement |
page | number |
Methods
getAt()
getAt( index: number ): PaginationItem
Returns the pagination item at the specified index.
This method will convert the index to the page index.
For example, if the perPage
option is 3
, getAt( 0 )
, getAt( 1 )
and getAt( 2 )
return a same item.
Params
index |
---|