Label for "first page" button. Default: "<<""
Label for "last page" button. Default: ">>"
Label for "next page" button. Default: ">"
Label for "prev page" button. Default: "<"
Page increment for prev / next page buttons. Default: 1
Function producing a single page nav or counter element. MUST be provided by user.
The function is called with:
If disabled
is true, the function should return a version of the button component reflecting this state to the user. E.g. the "prev page" buttons should be disabled if the first page is currently active. Likewise, the currently selected page button will be set to disabled as well.
Page IDs are zero-based indices, whereas page number labels are one-based. The currently active page ID is only provided for special highlighting cases (optional).
Component function to provide wrapper for the next / last nav button group. The next
/ last
args are button components. Optional. Default: ["div.pager-next", next, last]
Component function to provide wrapper for the page buttons group. The buttons
argument is an array of button components. Optional. Default: ["div.pager-pages", ...buttons]
Component function to provide wrapper for the first / prev nav button group. The first
/ prev
args are button components. Optional. Default: ["div.pager-prev", first, prev]
Pager root component function. Receives all 3 button groups as arguments. Optional. Default: ["div.pager", ...body]
Generated using TypeDoc
Configuration options for pager components.