Interface IPagerConfig

Index

Properties

Methods

Properties

optional public align?: boolean

Whether to align each link to the sides.

default

true

optional public itemsPerPage?: number

Maximum number of items per page. A value less than one indicates all items on one page.

default

10

optional public nextText?: string

Text for Next button.

default

'Next »'

optional public numPages?: number

An optional expression assigned the total number of pages to display.

default

angular.noop

optional public page?: number

Current page number. First page is 1.

optional public previousText?: string

Text for Previous button.

default

'« Previous'

optional public totalItems?: number

Total number of items in all pages.

Methods

optional public onSelectPage(page: number)

An optional expression called when a page is selected having the page number as argument.

default

null

Parameters

  • page: number