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:

liHTMLLIElement
buttonHTMLButtonElement
pagenumber

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