createPagination(
props
?):PaginationWidget
Create a PaginationWidget with given config props
• props?: PropsConfig
<PaginationProps
>
a PaginationWidget
DefaultPages(
slotContext
):null
|Element
• slotContext: PaginationContext
null
| Element
DefaultStructure(
slotContext
):Element
• slotContext: PaginationContext
Element
next:
string
The href for the 'Next' direction link
previous:
string
The href for the 'Previous' navigation link
getPaginationDefaultConfig():
PaginationProps
Retrieve a shallow copy of the default Pagination config
the default Pagination config
NavButton(
props
):ReactNode
• props: NavItemProps
& RefAttributes
<HTMLLIElement
>
ReactNode
optional
about:string
optional
accessKey:string
optional
active:boolean
optional
activeLabel:string
optional
aria-activedescendant:string
Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
optional
aria-atomic:Booleanish
Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
optional
aria-autocomplete:"none"
|"list"
|"inline"
|"both"
Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
optional
aria-braillelabel:string
Defines a string value that labels the current element, which is intended to be converted into Braille.
aria-label.
optional
aria-brailleroledescription:string
Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
aria-roledescription.
optional
aria-busy:Booleanish
optional
aria-checked:boolean
|"true"
|"false"
|"mixed"
Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
optional
aria-colcount:number
Defines the total number of columns in a table, grid, or treegrid.
aria-colindex.
optional
aria-colindex:number
Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
optional
aria-colindextext:string
Defines a human readable text alternative of aria-colindex.
aria-rowindextext.
optional
aria-colspan:number
Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
optional
aria-controls:string
Identifies the element (or elements) whose contents or presence are controlled by the current element.
aria-owns.
optional
aria-current:boolean
|"page"
|"true"
|"time"
|"false"
|"date"
|"step"
|"location"
Indicates the element that represents the current item within a container or set of related elements.
optional
aria-describedby:string
Identifies the element (or elements) that describes the object.
aria-labelledby
optional
aria-description:string
Defines a string value that describes or annotates the current element.
related aria-describedby.
optional
aria-details:string
Identifies the element that provides a detailed, extended description for the object.
aria-describedby.
optional
aria-disabled:Booleanish
Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
optional
aria-dropeffect:"link"
|"copy"
|"none"
|"execute"
|"move"
|"popup"
Indicates what functions can be performed when a dragged object is released on the drop target.
in ARIA 1.1
optional
aria-errormessage:string
Identifies the element that provides an error message for the object.
optional
aria-expanded:Booleanish
Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
optional
aria-flowto:string
Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.
optional
aria-grabbed:Booleanish
Indicates an element's "grabbed" state in a drag-and-drop operation.
in ARIA 1.1
optional
aria-haspopup:boolean
|"grid"
|"true"
|"dialog"
|"menu"
|"listbox"
|"tree"
|"false"
Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
optional
aria-hidden:Booleanish
Indicates whether the element is exposed to an accessibility API.
aria-disabled.
optional
aria-invalid:boolean
|"true"
|"false"
|"grammar"
|"spelling"
Indicates the entered value does not conform to the format expected by the application.
aria-errormessage.
optional
aria-keyshortcuts:string
Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
optional
aria-label:string
Defines a string value that labels the current element.
aria-labelledby.
optional
aria-labelledby:string
Identifies the element (or elements) that labels the current element.
aria-describedby.
optional
aria-level:number
Defines the hierarchical level of an element within a structure.
optional
aria-live:"off"
|"polite"
|"assertive"
Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
optional
aria-modal:Booleanish
Indicates whether an element is modal when displayed.
optional
aria-multiline:Booleanish
Indicates whether a text box accepts multiple lines of input or only a single line.
optional
aria-multiselectable:Booleanish
Indicates that the user may select more than one item from the current selectable descendants.
optional
aria-orientation:"vertical"
|"horizontal"
Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
optional
aria-owns:string
Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
aria-controls.
optional
aria-placeholder:string
Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.
optional
aria-posinset:number
Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
aria-setsize.
optional
aria-pressed:boolean
|"true"
|"false"
|"mixed"
Indicates the current "pressed" state of toggle buttons.
optional
aria-readonly:Booleanish
Indicates that the element is not editable, but is otherwise operable.
aria-disabled.
optional
aria-relevant:"all"
|"text"
|"additions"
|"additions removals"
|"additions text"
|"removals"
|"removals additions"
|"removals text"
|"text additions"
|"text removals"
Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
aria-atomic.
optional
aria-required:Booleanish
Indicates that user input is required on the element before a form may be submitted.
optional
aria-roledescription:string
Defines a human-readable, author-localized description for the role of an element.
optional
aria-rowcount:number
Defines the total number of rows in a table, grid, or treegrid.
aria-rowindex.
optional
aria-rowindex:number
Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
optional
aria-rowindextext:string
Defines a human readable text alternative of aria-rowindex.
aria-colindextext.
optional
aria-rowspan:number
Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
optional
aria-selected:Booleanish
Indicates the current "selected" state of various widgets.
optional
aria-setsize:number
Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
aria-posinset.
optional
aria-sort:"none"
|"ascending"
|"descending"
|"other"
Indicates if items in a table or grid are sorted in ascending or descending order.
optional
aria-valuemax:number
Defines the maximum allowed value for a range widget.
optional
aria-valuemin:number
Defines the minimum allowed value for a range widget.
optional
aria-valuenow:number
Defines the current value for a range widget.
aria-valuetext.
optional
aria-valuetext:string
Defines the human readable text alternative of aria-valuenow for a range widget.
optional
autoCapitalize:string
optional
autoCorrect:string
optional
autoFocus:boolean
optional
autoSave:string
optional
children:ReactNode
optional
className:string
optional
color:string
optional
content:string
optional
contentEditable:Booleanish
|"inherit"
|"plaintext-only"
optional
contextMenu:string
optional
dangerouslySetInnerHTML:object
__html:
string
|TrustedHTML
optional
datatype:string
optional
defaultChecked:boolean
optional
defaultValue:string
|number
| readonlystring
[]
optional
dir:string
directive:
Directive
optional
disabled:boolean
optional
draggable:Booleanish
optional
hidden:boolean
optional
id:string
optional
inlist:any
optional
inputMode:"search"
|"none"
|"text"
|"url"
|"tel"
|"email"
|"numeric"
|"decimal"
Hints at the type of data that might be entered by the user while editing the element or its contents
https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
optional
is:string
Specify that a standard HTML element should behave like a defined custom built-in element
https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
optional
itemID:string
optional
itemProp:string
optional
itemRef:string
optional
itemScope:boolean
optional
itemType:string
optional
lang:string
optional
nonce:string
optional
onAbort:ReactEventHandler
<HTMLAnchorElement
>
optional
onAbortCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onAnimationEnd:AnimationEventHandler
<HTMLAnchorElement
>
optional
onAnimationEndCapture:AnimationEventHandler
<HTMLAnchorElement
>
optional
onAnimationIteration:AnimationEventHandler
<HTMLAnchorElement
>
optional
onAnimationIterationCapture:AnimationEventHandler
<HTMLAnchorElement
>
optional
onAnimationStart:AnimationEventHandler
<HTMLAnchorElement
>
optional
onAnimationStartCapture:AnimationEventHandler
<HTMLAnchorElement
>
optional
onAuxClick:MouseEventHandler
<HTMLAnchorElement
>
optional
onAuxClickCapture:MouseEventHandler
<HTMLAnchorElement
>
optional
onBeforeInput:FormEventHandler
<HTMLAnchorElement
>
optional
onBeforeInputCapture:FormEventHandler
<HTMLAnchorElement
>
optional
onBlur:FocusEventHandler
<HTMLAnchorElement
>
optional
onBlurCapture:FocusEventHandler
<HTMLAnchorElement
>
optional
onCanPlay:ReactEventHandler
<HTMLAnchorElement
>
optional
onCanPlayCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onCanPlayThrough:ReactEventHandler
<HTMLAnchorElement
>
optional
onCanPlayThroughCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onChange:FormEventHandler
<HTMLAnchorElement
>
optional
onChangeCapture:FormEventHandler
<HTMLAnchorElement
>
optional
onClick:MouseEventHandler
<HTMLAnchorElement
>
optional
onClickCapture:MouseEventHandler
<HTMLAnchorElement
>
optional
onCompositionEnd:CompositionEventHandler
<HTMLAnchorElement
>
optional
onCompositionEndCapture:CompositionEventHandler
<HTMLAnchorElement
>
optional
onCompositionStart:CompositionEventHandler
<HTMLAnchorElement
>
optional
onCompositionStartCapture:CompositionEventHandler
<HTMLAnchorElement
>
optional
onCompositionUpdate:CompositionEventHandler
<HTMLAnchorElement
>
optional
onCompositionUpdateCapture:CompositionEventHandler
<HTMLAnchorElement
>
optional
onContextMenu:MouseEventHandler
<HTMLAnchorElement
>
optional
onContextMenuCapture:MouseEventHandler
<HTMLAnchorElement
>
optional
onCopy:ClipboardEventHandler
<HTMLAnchorElement
>
optional
onCopyCapture:ClipboardEventHandler
<HTMLAnchorElement
>
optional
onCut:ClipboardEventHandler
<HTMLAnchorElement
>
optional
onCutCapture:ClipboardEventHandler
<HTMLAnchorElement
>
optional
onDoubleClick:MouseEventHandler
<HTMLAnchorElement
>
optional
onDoubleClickCapture:MouseEventHandler
<HTMLAnchorElement
>
optional
onDrag:DragEventHandler
<HTMLAnchorElement
>
optional
onDragCapture:DragEventHandler
<HTMLAnchorElement
>
optional
onDragEnd:DragEventHandler
<HTMLAnchorElement
>
optional
onDragEndCapture:DragEventHandler
<HTMLAnchorElement
>
optional
onDragEnter:DragEventHandler
<HTMLAnchorElement
>
optional
onDragEnterCapture:DragEventHandler
<HTMLAnchorElement
>
optional
onDragExit:DragEventHandler
<HTMLAnchorElement
>
optional
onDragExitCapture:DragEventHandler
<HTMLAnchorElement
>
optional
onDragLeave:DragEventHandler
<HTMLAnchorElement
>
optional
onDragLeaveCapture:DragEventHandler
<HTMLAnchorElement
>
optional
onDragOver:DragEventHandler
<HTMLAnchorElement
>
optional
onDragOverCapture:DragEventHandler
<HTMLAnchorElement
>
optional
onDragStart:DragEventHandler
<HTMLAnchorElement
>
optional
onDragStartCapture:DragEventHandler
<HTMLAnchorElement
>
optional
onDrop:DragEventHandler
<HTMLAnchorElement
>
optional
onDropCapture:DragEventHandler
<HTMLAnchorElement
>
optional
onDurationChange:ReactEventHandler
<HTMLAnchorElement
>
optional
onDurationChangeCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onEmptied:ReactEventHandler
<HTMLAnchorElement
>
optional
onEmptiedCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onEncrypted:ReactEventHandler
<HTMLAnchorElement
>
optional
onEncryptedCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onEnded:ReactEventHandler
<HTMLAnchorElement
>
optional
onEndedCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onError:ReactEventHandler
<HTMLAnchorElement
>
optional
onErrorCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onFocus:FocusEventHandler
<HTMLAnchorElement
>
optional
onFocusCapture:FocusEventHandler
<HTMLAnchorElement
>
optional
onGotPointerCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onGotPointerCaptureCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onInput:FormEventHandler
<HTMLAnchorElement
>
optional
onInputCapture:FormEventHandler
<HTMLAnchorElement
>
optional
onInvalid:FormEventHandler
<HTMLAnchorElement
>
optional
onInvalidCapture:FormEventHandler
<HTMLAnchorElement
>
optional
onKeyDown:KeyboardEventHandler
<HTMLAnchorElement
>
optional
onKeyDownCapture:KeyboardEventHandler
<HTMLAnchorElement
>
optional
onKeyPress:KeyboardEventHandler
<HTMLAnchorElement
>
optional
onKeyPressCapture:KeyboardEventHandler
<HTMLAnchorElement
>
optional
onKeyUp:KeyboardEventHandler
<HTMLAnchorElement
>
optional
onKeyUpCapture:KeyboardEventHandler
<HTMLAnchorElement
>
optional
onLoad:ReactEventHandler
<HTMLAnchorElement
>
optional
onLoadCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onLoadStart:ReactEventHandler
<HTMLAnchorElement
>
optional
onLoadStartCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onLoadedData:ReactEventHandler
<HTMLAnchorElement
>
optional
onLoadedDataCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onLoadedMetadata:ReactEventHandler
<HTMLAnchorElement
>
optional
onLoadedMetadataCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onLostPointerCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onLostPointerCaptureCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onMouseDown:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseDownCapture:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseEnter:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseLeave:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseMove:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseMoveCapture:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseOut:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseOutCapture:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseOver:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseOverCapture:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseUp:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseUpCapture:MouseEventHandler
<HTMLAnchorElement
>
optional
onPaste:ClipboardEventHandler
<HTMLAnchorElement
>
optional
onPasteCapture:ClipboardEventHandler
<HTMLAnchorElement
>
optional
onPause:ReactEventHandler
<HTMLAnchorElement
>
optional
onPauseCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onPlay:ReactEventHandler
<HTMLAnchorElement
>
optional
onPlayCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onPlaying:ReactEventHandler
<HTMLAnchorElement
>
optional
onPlayingCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onPointerCancel:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerCancelCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerDown:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerDownCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerEnter:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerLeave:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerMove:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerMoveCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerOut:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerOutCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerOver:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerOverCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerUp:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerUpCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onProgress:ReactEventHandler
<HTMLAnchorElement
>
optional
onProgressCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onRateChange:ReactEventHandler
<HTMLAnchorElement
>
optional
onRateChangeCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onReset:FormEventHandler
<HTMLAnchorElement
>
optional
onResetCapture:FormEventHandler
<HTMLAnchorElement
>
optional
onResize:ReactEventHandler
<HTMLAnchorElement
>
optional
onResizeCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onScroll:UIEventHandler
<HTMLAnchorElement
>
optional
onScrollCapture:UIEventHandler
<HTMLAnchorElement
>
optional
onSeeked:ReactEventHandler
<HTMLAnchorElement
>
optional
onSeekedCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onSeeking:ReactEventHandler
<HTMLAnchorElement
>
optional
onSeekingCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onSelect:ReactEventHandler
<HTMLAnchorElement
>
optional
onSelectCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onStalled:ReactEventHandler
<HTMLAnchorElement
>
optional
onStalledCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onSubmit:FormEventHandler
<HTMLAnchorElement
>
optional
onSubmitCapture:FormEventHandler
<HTMLAnchorElement
>
optional
onSuspend:ReactEventHandler
<HTMLAnchorElement
>
optional
onSuspendCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onTimeUpdate:ReactEventHandler
<HTMLAnchorElement
>
optional
onTimeUpdateCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onTouchCancel:TouchEventHandler
<HTMLAnchorElement
>
optional
onTouchCancelCapture:TouchEventHandler
<HTMLAnchorElement
>
optional
onTouchEnd:TouchEventHandler
<HTMLAnchorElement
>
optional
onTouchEndCapture:TouchEventHandler
<HTMLAnchorElement
>
optional
onTouchMove:TouchEventHandler
<HTMLAnchorElement
>
optional
onTouchMoveCapture:TouchEventHandler
<HTMLAnchorElement
>
optional
onTouchStart:TouchEventHandler
<HTMLAnchorElement
>
optional
onTouchStartCapture:TouchEventHandler
<HTMLAnchorElement
>
optional
onTransitionEnd:TransitionEventHandler
<HTMLAnchorElement
>
optional
onTransitionEndCapture:TransitionEventHandler
<HTMLAnchorElement
>
optional
onVolumeChange:ReactEventHandler
<HTMLAnchorElement
>
optional
onVolumeChangeCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onWaiting:ReactEventHandler
<HTMLAnchorElement
>
optional
onWaitingCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onWheel:WheelEventHandler
<HTMLAnchorElement
>
optional
onWheelCapture:WheelEventHandler
<HTMLAnchorElement
>
optional
prefix:string
optional
property:string
optional
radioGroup:string
optional
rel:string
optional
resource:string
optional
results:number
optional
rev:string
optional
role:AriaRole
optional
security:string
optional
slot:string
optional
spellCheck:Booleanish
optional
style:CSSProperties
optional
suppressContentEditableWarning:boolean
optional
suppressHydrationWarning:boolean
optional
tabIndex:number
optional
title:string
optional
translate:"yes"
|"no"
optional
typeof:string
optional
unselectable:"off"
|"on"
optional
vocab:string
PageItem(
props
):ReactNode
• props: PageItemProps
& RefAttributes
<HTMLLIElement
>
ReactNode
optional
about:string
optional
accessKey:string
optional
active:boolean
optional
activeLabel:string
optional
aria-activedescendant:string
Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
optional
aria-atomic:Booleanish
Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
optional
aria-autocomplete:"none"
|"list"
|"inline"
|"both"
Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
optional
aria-braillelabel:string
Defines a string value that labels the current element, which is intended to be converted into Braille.
aria-label.
optional
aria-brailleroledescription:string
Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
aria-roledescription.
optional
aria-busy:Booleanish
optional
aria-checked:boolean
|"true"
|"false"
|"mixed"
Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
optional
aria-colcount:number
Defines the total number of columns in a table, grid, or treegrid.
aria-colindex.
optional
aria-colindex:number
Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
optional
aria-colindextext:string
Defines a human readable text alternative of aria-colindex.
aria-rowindextext.
optional
aria-colspan:number
Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
optional
aria-controls:string
Identifies the element (or elements) whose contents or presence are controlled by the current element.
aria-owns.
optional
aria-current:boolean
|"page"
|"true"
|"time"
|"false"
|"date"
|"step"
|"location"
Indicates the element that represents the current item within a container or set of related elements.
optional
aria-describedby:string
Identifies the element (or elements) that describes the object.
aria-labelledby
optional
aria-description:string
Defines a string value that describes or annotates the current element.
related aria-describedby.
optional
aria-details:string
Identifies the element that provides a detailed, extended description for the object.
aria-describedby.
optional
aria-disabled:Booleanish
Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
optional
aria-dropeffect:"link"
|"copy"
|"none"
|"execute"
|"move"
|"popup"
Indicates what functions can be performed when a dragged object is released on the drop target.
in ARIA 1.1
optional
aria-errormessage:string
Identifies the element that provides an error message for the object.
optional
aria-expanded:Booleanish
Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
optional
aria-flowto:string
Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.
optional
aria-grabbed:Booleanish
Indicates an element's "grabbed" state in a drag-and-drop operation.
in ARIA 1.1
optional
aria-haspopup:boolean
|"grid"
|"true"
|"dialog"
|"menu"
|"listbox"
|"tree"
|"false"
Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
optional
aria-hidden:Booleanish
Indicates whether the element is exposed to an accessibility API.
aria-disabled.
optional
aria-invalid:boolean
|"true"
|"false"
|"grammar"
|"spelling"
Indicates the entered value does not conform to the format expected by the application.
aria-errormessage.
optional
aria-keyshortcuts:string
Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
optional
aria-label:string
Defines a string value that labels the current element.
aria-labelledby.
optional
aria-labelledby:string
Identifies the element (or elements) that labels the current element.
aria-describedby.
optional
aria-level:number
Defines the hierarchical level of an element within a structure.
optional
aria-live:"off"
|"polite"
|"assertive"
Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
optional
aria-modal:Booleanish
Indicates whether an element is modal when displayed.
optional
aria-multiline:Booleanish
Indicates whether a text box accepts multiple lines of input or only a single line.
optional
aria-multiselectable:Booleanish
Indicates that the user may select more than one item from the current selectable descendants.
optional
aria-orientation:"vertical"
|"horizontal"
Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
optional
aria-owns:string
Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
aria-controls.
optional
aria-placeholder:string
Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.
optional
aria-posinset:number
Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
aria-setsize.
optional
aria-pressed:boolean
|"true"
|"false"
|"mixed"
Indicates the current "pressed" state of toggle buttons.
optional
aria-readonly:Booleanish
Indicates that the element is not editable, but is otherwise operable.
aria-disabled.
optional
aria-relevant:"all"
|"text"
|"additions"
|"additions removals"
|"additions text"
|"removals"
|"removals additions"
|"removals text"
|"text additions"
|"text removals"
Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
aria-atomic.
optional
aria-required:Booleanish
Indicates that user input is required on the element before a form may be submitted.
optional
aria-roledescription:string
Defines a human-readable, author-localized description for the role of an element.
optional
aria-rowcount:number
Defines the total number of rows in a table, grid, or treegrid.
aria-rowindex.
optional
aria-rowindex:number
Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
optional
aria-rowindextext:string
Defines a human readable text alternative of aria-rowindex.
aria-colindextext.
optional
aria-rowspan:number
Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
optional
aria-selected:Booleanish
Indicates the current "selected" state of various widgets.
optional
aria-setsize:number
Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
aria-posinset.
optional
aria-sort:"none"
|"ascending"
|"descending"
|"other"
Indicates if items in a table or grid are sorted in ascending or descending order.
optional
aria-valuemax:number
Defines the maximum allowed value for a range widget.
optional
aria-valuemin:number
Defines the minimum allowed value for a range widget.
optional
aria-valuenow:number
Defines the current value for a range widget.
aria-valuetext.
optional
aria-valuetext:string
Defines the human readable text alternative of aria-valuenow for a range widget.
optional
autoCapitalize:string
optional
autoCorrect:string
optional
autoFocus:boolean
optional
autoSave:string
optional
children:ReactNode
optional
className:string
optional
color:string
optional
content:string
optional
contentEditable:Booleanish
|"inherit"
|"plaintext-only"
optional
contextMenu:string
optional
dangerouslySetInnerHTML:object
__html:
string
|TrustedHTML
optional
datatype:string
optional
defaultChecked:boolean
optional
defaultValue:string
|number
| readonlystring
[]
optional
dir:string
directive:
Directive
<object
>
page:
number
optional
disabled:boolean
optional
draggable:Booleanish
optional
hidden:boolean
optional
id:string
optional
inlist:any
optional
inputMode:"search"
|"none"
|"text"
|"url"
|"tel"
|"email"
|"numeric"
|"decimal"
Hints at the type of data that might be entered by the user while editing the element or its contents
https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
optional
is:string
Specify that a standard HTML element should behave like a defined custom built-in element
https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
optional
itemID:string
optional
itemProp:string
optional
itemRef:string
optional
itemScope:boolean
optional
itemType:string
optional
lang:string
optional
nonce:string
optional
onAbort:ReactEventHandler
<HTMLAnchorElement
>
optional
onAbortCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onAnimationEnd:AnimationEventHandler
<HTMLAnchorElement
>
optional
onAnimationEndCapture:AnimationEventHandler
<HTMLAnchorElement
>
optional
onAnimationIteration:AnimationEventHandler
<HTMLAnchorElement
>
optional
onAnimationIterationCapture:AnimationEventHandler
<HTMLAnchorElement
>
optional
onAnimationStart:AnimationEventHandler
<HTMLAnchorElement
>
optional
onAnimationStartCapture:AnimationEventHandler
<HTMLAnchorElement
>
optional
onAuxClick:MouseEventHandler
<HTMLAnchorElement
>
optional
onAuxClickCapture:MouseEventHandler
<HTMLAnchorElement
>
optional
onBeforeInput:FormEventHandler
<HTMLAnchorElement
>
optional
onBeforeInputCapture:FormEventHandler
<HTMLAnchorElement
>
optional
onBlur:FocusEventHandler
<HTMLAnchorElement
>
optional
onBlurCapture:FocusEventHandler
<HTMLAnchorElement
>
optional
onCanPlay:ReactEventHandler
<HTMLAnchorElement
>
optional
onCanPlayCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onCanPlayThrough:ReactEventHandler
<HTMLAnchorElement
>
optional
onCanPlayThroughCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onChange:FormEventHandler
<HTMLAnchorElement
>
optional
onChangeCapture:FormEventHandler
<HTMLAnchorElement
>
optional
onClick:MouseEventHandler
<HTMLAnchorElement
>
optional
onClickCapture:MouseEventHandler
<HTMLAnchorElement
>
optional
onCompositionEnd:CompositionEventHandler
<HTMLAnchorElement
>
optional
onCompositionEndCapture:CompositionEventHandler
<HTMLAnchorElement
>
optional
onCompositionStart:CompositionEventHandler
<HTMLAnchorElement
>
optional
onCompositionStartCapture:CompositionEventHandler
<HTMLAnchorElement
>
optional
onCompositionUpdate:CompositionEventHandler
<HTMLAnchorElement
>
optional
onCompositionUpdateCapture:CompositionEventHandler
<HTMLAnchorElement
>
optional
onContextMenu:MouseEventHandler
<HTMLAnchorElement
>
optional
onContextMenuCapture:MouseEventHandler
<HTMLAnchorElement
>
optional
onCopy:ClipboardEventHandler
<HTMLAnchorElement
>
optional
onCopyCapture:ClipboardEventHandler
<HTMLAnchorElement
>
optional
onCut:ClipboardEventHandler
<HTMLAnchorElement
>
optional
onCutCapture:ClipboardEventHandler
<HTMLAnchorElement
>
optional
onDoubleClick:MouseEventHandler
<HTMLAnchorElement
>
optional
onDoubleClickCapture:MouseEventHandler
<HTMLAnchorElement
>
optional
onDrag:DragEventHandler
<HTMLAnchorElement
>
optional
onDragCapture:DragEventHandler
<HTMLAnchorElement
>
optional
onDragEnd:DragEventHandler
<HTMLAnchorElement
>
optional
onDragEndCapture:DragEventHandler
<HTMLAnchorElement
>
optional
onDragEnter:DragEventHandler
<HTMLAnchorElement
>
optional
onDragEnterCapture:DragEventHandler
<HTMLAnchorElement
>
optional
onDragExit:DragEventHandler
<HTMLAnchorElement
>
optional
onDragExitCapture:DragEventHandler
<HTMLAnchorElement
>
optional
onDragLeave:DragEventHandler
<HTMLAnchorElement
>
optional
onDragLeaveCapture:DragEventHandler
<HTMLAnchorElement
>
optional
onDragOver:DragEventHandler
<HTMLAnchorElement
>
optional
onDragOverCapture:DragEventHandler
<HTMLAnchorElement
>
optional
onDragStart:DragEventHandler
<HTMLAnchorElement
>
optional
onDragStartCapture:DragEventHandler
<HTMLAnchorElement
>
optional
onDrop:DragEventHandler
<HTMLAnchorElement
>
optional
onDropCapture:DragEventHandler
<HTMLAnchorElement
>
optional
onDurationChange:ReactEventHandler
<HTMLAnchorElement
>
optional
onDurationChangeCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onEmptied:ReactEventHandler
<HTMLAnchorElement
>
optional
onEmptiedCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onEncrypted:ReactEventHandler
<HTMLAnchorElement
>
optional
onEncryptedCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onEnded:ReactEventHandler
<HTMLAnchorElement
>
optional
onEndedCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onError:ReactEventHandler
<HTMLAnchorElement
>
optional
onErrorCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onFocus:FocusEventHandler
<HTMLAnchorElement
>
optional
onFocusCapture:FocusEventHandler
<HTMLAnchorElement
>
optional
onGotPointerCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onGotPointerCaptureCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onInput:FormEventHandler
<HTMLAnchorElement
>
optional
onInputCapture:FormEventHandler
<HTMLAnchorElement
>
optional
onInvalid:FormEventHandler
<HTMLAnchorElement
>
optional
onInvalidCapture:FormEventHandler
<HTMLAnchorElement
>
optional
onKeyDown:KeyboardEventHandler
<HTMLAnchorElement
>
optional
onKeyDownCapture:KeyboardEventHandler
<HTMLAnchorElement
>
optional
onKeyPress:KeyboardEventHandler
<HTMLAnchorElement
>
optional
onKeyPressCapture:KeyboardEventHandler
<HTMLAnchorElement
>
optional
onKeyUp:KeyboardEventHandler
<HTMLAnchorElement
>
optional
onKeyUpCapture:KeyboardEventHandler
<HTMLAnchorElement
>
optional
onLoad:ReactEventHandler
<HTMLAnchorElement
>
optional
onLoadCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onLoadStart:ReactEventHandler
<HTMLAnchorElement
>
optional
onLoadStartCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onLoadedData:ReactEventHandler
<HTMLAnchorElement
>
optional
onLoadedDataCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onLoadedMetadata:ReactEventHandler
<HTMLAnchorElement
>
optional
onLoadedMetadataCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onLostPointerCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onLostPointerCaptureCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onMouseDown:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseDownCapture:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseEnter:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseLeave:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseMove:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseMoveCapture:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseOut:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseOutCapture:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseOver:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseOverCapture:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseUp:MouseEventHandler
<HTMLAnchorElement
>
optional
onMouseUpCapture:MouseEventHandler
<HTMLAnchorElement
>
optional
onPaste:ClipboardEventHandler
<HTMLAnchorElement
>
optional
onPasteCapture:ClipboardEventHandler
<HTMLAnchorElement
>
optional
onPause:ReactEventHandler
<HTMLAnchorElement
>
optional
onPauseCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onPlay:ReactEventHandler
<HTMLAnchorElement
>
optional
onPlayCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onPlaying:ReactEventHandler
<HTMLAnchorElement
>
optional
onPlayingCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onPointerCancel:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerCancelCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerDown:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerDownCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerEnter:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerLeave:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerMove:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerMoveCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerOut:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerOutCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerOver:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerOverCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerUp:PointerEventHandler
<HTMLAnchorElement
>
optional
onPointerUpCapture:PointerEventHandler
<HTMLAnchorElement
>
optional
onProgress:ReactEventHandler
<HTMLAnchorElement
>
optional
onProgressCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onRateChange:ReactEventHandler
<HTMLAnchorElement
>
optional
onRateChangeCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onReset:FormEventHandler
<HTMLAnchorElement
>
optional
onResetCapture:FormEventHandler
<HTMLAnchorElement
>
optional
onResize:ReactEventHandler
<HTMLAnchorElement
>
optional
onResizeCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onScroll:UIEventHandler
<HTMLAnchorElement
>
optional
onScrollCapture:UIEventHandler
<HTMLAnchorElement
>
optional
onSeeked:ReactEventHandler
<HTMLAnchorElement
>
optional
onSeekedCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onSeeking:ReactEventHandler
<HTMLAnchorElement
>
optional
onSeekingCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onSelect:ReactEventHandler
<HTMLAnchorElement
>
optional
onSelectCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onStalled:ReactEventHandler
<HTMLAnchorElement
>
optional
onStalledCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onSubmit:FormEventHandler
<HTMLAnchorElement
>
optional
onSubmitCapture:FormEventHandler
<HTMLAnchorElement
>
optional
onSuspend:ReactEventHandler
<HTMLAnchorElement
>
optional
onSuspendCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onTimeUpdate:ReactEventHandler
<HTMLAnchorElement
>
optional
onTimeUpdateCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onTouchCancel:TouchEventHandler
<HTMLAnchorElement
>
optional
onTouchCancelCapture:TouchEventHandler
<HTMLAnchorElement
>
optional
onTouchEnd:TouchEventHandler
<HTMLAnchorElement
>
optional
onTouchEndCapture:TouchEventHandler
<HTMLAnchorElement
>
optional
onTouchMove:TouchEventHandler
<HTMLAnchorElement
>
optional
onTouchMoveCapture:TouchEventHandler
<HTMLAnchorElement
>
optional
onTouchStart:TouchEventHandler
<HTMLAnchorElement
>
optional
onTouchStartCapture:TouchEventHandler
<HTMLAnchorElement
>
optional
onTransitionEnd:TransitionEventHandler
<HTMLAnchorElement
>
optional
onTransitionEndCapture:TransitionEventHandler
<HTMLAnchorElement
>
optional
onVolumeChange:ReactEventHandler
<HTMLAnchorElement
>
optional
onVolumeChangeCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onWaiting:ReactEventHandler
<HTMLAnchorElement
>
optional
onWaitingCapture:ReactEventHandler
<HTMLAnchorElement
>
optional
onWheel:WheelEventHandler
<HTMLAnchorElement
>
optional
onWheelCapture:WheelEventHandler
<HTMLAnchorElement
>
page:
number
optional
prefix:string
optional
property:string
optional
radioGroup:string
optional
rel:string
optional
resource:string
optional
results:number
optional
rev:string
optional
role:AriaRole
optional
security:string
optional
slot:string
optional
spellCheck:Booleanish
optional
style:CSSProperties
optional
suppressContentEditableWarning:boolean
optional
suppressHydrationWarning:boolean
optional
tabIndex:number
optional
title:string
optional
translate:"yes"
|"no"
optional
typeof:string
optional
unselectable:"off"
|"on"
optional
vocab:string
Pagination(
props
):Element
• props: Partial
<PaginationProps
>
Element
first(
event
?):void
To "go" to the first page
• event?: MouseEvent
void
last(
event
?):void
To "go" to the last page
• event?: MouseEvent
void
next(
event
?):void
To "go" to the next page
• event?: MouseEvent
void
previous(
event
?):void
To "go" to the previous page
• event?: MouseEvent
void
select(
page
,event
?):void
To "go" to a specific page
• page: number
The page number to select
• event?: MouseEvent
void
PaginationContext:
WidgetSlotContext
<PaginationWidget
>
A type for the slot context of the pagination widget
pageFirst:
Directive
A directive to be applied on the first link
pageLast:
Directive
A directive to be applied on the Last link
pageLink:
Directive
<object
>
A directive to be applied to each page link This will handle the click, tabindex and aria attributes
page:
number
pageNext:
Directive
A directive to be applied on the next link
pagePrev:
Directive
A directive to be applied on the previous link
PaginationNumberContext:
PaginationContext
&object
A type for the slot context of the pagination widget when the slot is the number label
displayedPage:
number
Displayed page
activeLabel:
string
The label for the "active" page. for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'(current)'
ariaEllipsisLabel:
string
The label for the "Ellipsis" page. for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'Ellipsis page element'
ariaFirstLabel:
string
The label for the "First" page button. for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'Action link for first page'
ariaLabel:
string
The label for the nav element.
for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'Page navigation'
ariaLastLabel:
string
The label for the "Last" page button. for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'Action link for last page'
ariaLiveLabel: (
currentPage
,pageCount
) =>string
Provide the label for the aria-live element This is used for accessibility purposes. for I18n, we suggest to use the global configuration override any configuration parameters provided for this
• currentPage: number
The current page number
• pageCount: number
The total number of pages
string
(currentPage: number, pageCount: number) => `Current page is ${currentPage}`
ariaNextLabel:
string
The label for the "Next" page button. for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'Action link for next page'
ariaPageLabel: (
processPage
,pageCount
) =>string
Provide the label for each "Page" page button. This is used for accessibility purposes. for I18n, we suggest to use the global configuration override any configuration parameters provided for this
• processPage: number
The current page number
• pageCount: number
The total number of pages
string
(processPage: number, pageCount: number) => `Page ${processPage} of ${pageCount}`
ariaPreviousLabel:
string
The label for the "Previous" page button. for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'Action link for previous page'
boundaryLinks:
boolean
If true
, the "First" and "Last" page links are shown.
false
className:
string
CSS classes to be applied on the widget main container
''
collectionSize:
number
The number of items in your paginated collection.
Note, that this is not the number of pages. Page numbers are calculated dynamically based on
collectionSize
and pageSize
.
Ex. if you have 100 items in your collection and displaying 20 items per page, you'll end up with 5 pages.
Whatever the collectionSize the page number is of minimum 1.
0
directionLinks:
boolean
If true
, the "Next" and "Previous" page links are shown.
true
disabled:
boolean
If true
, pagination links will be disabled.
false
ellipsisLabel:
SlotContent
<PaginationContext
>
The template to use for the ellipsis slot for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'…'
firstPageLabel:
SlotContent
<PaginationContext
>
The template to use for the first slot for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'«'
lastPageLabel:
SlotContent
<PaginationContext
>
The template to use for the last slot for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'»'
nextPageLabel:
SlotContent
<PaginationContext
>
The template to use for the next slot for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'›'
numberLabel:
SlotContent
<PaginationNumberContext
>
The template to use for the number slot override any configuration parameters provided for this for I18n, we suggest to use the global configuration
The current page number
({displayedPage}: PaginationNumberContext) => `${displayedPage}`
onPageChange: (
page
) =>void
An event fired when the page is changed.
Event payload is the number of the newly selected page.
Page numbers start with 1
.
• page: number
void
() => {}
page:
number
The current page.
Page numbers start with 1
.
1
pageLink: (
pageNumber
) =>string
Factory function providing the href for a "Page" page anchor, based on the current page number
• pageNumber: number
The index to use in the link
string
(_page: number) => PAGE_LINK_DEFAULT
pageSize:
number
The number of items per page.
min value is 1
10
pagesDisplay:
SlotContent
<PaginationContext
>
The template to use for the pages slot To use to customize the pages view override any configuration parameters provided for this
pagesFactory: (
page
,pageCount
) =>number
[]
pagesFactory returns a function computing the array of pages to be displayed as number (-1 are treated as ellipsis). Use Page slot to customize the pages view and not this
• page: number
The current page number
• pageCount: number
The total number of pages
number
[]
(_page: number, pageCount: number) => {
const pages: number[] = [];
for (let i = 1; i <= pageCount; i++) {
pages.push(i);
}
return pages;
}
previousPageLabel:
SlotContent
<PaginationContext
>
The template to use for the previous slot for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'‹'
size:
null
|"sm"
|"lg"
The pagination display size.
Bootstrap currently supports small and large sizes.
null
structure:
SlotContent
<PaginationContext
>
The template to use for the structure of the pagination component The default structure uses ellipsisLabel, firstPageLabel, previousPageLabel, nextPageLabel, lastPageLabel, pagesDisplay, numberLabel,
activeLabel:
string
The label for the "active" page. for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'(current)'
ariaEllipsisLabel:
string
The label for the "Ellipsis" page. for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'Ellipsis page element'
ariaFirstLabel:
string
The label for the "First" page button. for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'Action link for first page'
ariaLabel:
string
The label for the nav element.
for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'Page navigation'
ariaLastLabel:
string
The label for the "Last" page button. for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'Action link for last page'
ariaLiveLabelText:
string
The aria-live text
ariaNextLabel:
string
The label for the "Next" page button. for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'Action link for next page'
ariaPreviousLabel:
string
The label for the "Previous" page button. for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'Action link for previous page'
boundaryLinks:
boolean
If true
, the "First" and "Last" page links are shown.
false
className:
string
CSS classes to be applied on the widget main container
''
directionLinks:
boolean
If true
, the "Next" and "Previous" page links are shown.
true
directionsHrefs:
DirectionsHrefs
The hrefs for the direction links
disabled:
boolean
If true
, pagination links will be disabled.
false
ellipsisLabel:
SlotContent
<PaginationContext
>
The template to use for the ellipsis slot for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'…'
firstPageLabel:
SlotContent
<PaginationContext
>
The template to use for the first slot for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'«'
lastPageLabel:
SlotContent
<PaginationContext
>
The template to use for the last slot for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'»'
nextDisabled:
boolean
true if the next link need to be disabled
nextPageLabel:
SlotContent
<PaginationContext
>
The template to use for the next slot for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'›'
numberLabel:
SlotContent
<PaginationNumberContext
>
The template to use for the number slot override any configuration parameters provided for this for I18n, we suggest to use the global configuration
The current page number
({displayedPage}: PaginationNumberContext) => `${displayedPage}`
page:
number
The current page.
Page numbers start with 1
.
1
pageCount:
number
The number of pages.
pages:
number
[]
The current pages, the number in the Array is the number of the page.
pagesDisplay:
SlotContent
<PaginationContext
>
The template to use for the pages slot To use to customize the pages view override any configuration parameters provided for this
pagesHrefs:
string
[]
The hrefs for each "Page" page link
pagesLabel:
string
[]
The label for each "Page" page link.
previousDisabled:
boolean
true if the previous link need to be disabled
previousPageLabel:
SlotContent
<PaginationContext
>
The template to use for the previous slot for I18n, we suggest to use the global configuration override any configuration parameters provided for this
'‹'
size:
null
|"sm"
|"lg"
The pagination display size.
Bootstrap currently supports small and large sizes.
null
structure:
SlotContent
<PaginationContext
>
The template to use for the structure of the pagination component The default structure uses ellipsisLabel, firstPageLabel, previousPageLabel, nextPageLabel, lastPageLabel, pagesDisplay, numberLabel,
PaginationWidget:
Widget
<PaginationProps
,PaginationState
,PaginationApi
,PaginationActions
,PaginationDirectives
>