Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IPaginationConfig

Index

Properties

Optional boundaryLinkNumbers

boundaryLinkNumbers: boolean

Whether to always display the first and last page numbers. If max-size is smaller than the number of pages, then the first and last page numbers are still shown with ellipses in-between as necessary. NOTE: max-size refers to the center of the range. This option may add up to 2 more numbers on each side of the displayed range for the end value and what would be an ellipsis but is replaced by a number because it is sequential.

default

false

Optional boundaryLinks

boundaryLinks: boolean

Whether to display First / Last buttons.

default

false

Optional directionLinks

directionLinks: boolean

Whether to display Previous / Next buttons.

default

true

Optional firstText

firstText: string

Text for First button.

default

'First'

Optional forceEllipses

forceEllipses: boolean

Also displays ellipses when rotate is true and max-size is smaller than the number of pages.

default

false

Optional itemsPerPage

itemsPerPage: number

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

default

10

Optional lastText

lastText: string

Text for Last button.

default

'Last'

Optional maxSize

maxSize: number

Limit number for pagination size.

default:

null

Optional nextText

nextText: string

Text for Next button.

default

'Next'

Optional numPages

numPages: number

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

default

angular.noop

Optional previousText

previousText: string

Text for Previous button.

default

'Previous'

Optional rotate

rotate: boolean

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

default

true

Optional templateUrl

templateUrl: string

Override the template for the component with a custom provided template.

default

'template/pagination/pagination.html'

Optional totalItems

totalItems: number

Total number of items in all pages.

Generated using TypeDoc