Interface IPaginationConfig

Index

Properties

Methods

Properties

optional public boundaryLinks?: boolean

Whether to display First / Last buttons.

default

false

optional public directionLinks?: boolean

Whether to display Previous / Next buttons.

default

true

optional public firstText?: string

Text for First button.

default

'First'

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 lastText?: string

Text for Last button.

default

'Last'

optional public maxSize?: number

Limit number for pagination size.

default

: null

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 rotate?: boolean

Whether to keep current page in the middle of the visible ones.

default

true

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