Skip to contents

Create a Pagination component

Usage

calcite_pagination(...)

Arguments

...

named attributes passed to htmltools::tag()

Value

an object of class calcite_component which is a subclass of shiny.tag

Details

Properties

The following properties are provided by this component:

NameAttributeDescriptionValuesReflects to Attribute
groupSeparatorgroup-separatorWhen true, number values are displayed with a group separator corresponding to the language and country format.booleanTRUE
messageOverridesNAUse this property to override individual strings used by the component.Check API referenceFALSE
numberingSystemnumbering-systemSpecifies the Unicode numeral system used by the component for localization."arab" | "arabext" | "latn"FALSE
pageSizepage-sizeSpecifies the number of items per page.numberTRUE
scalescaleSpecifies the size of the component."l" | "m" | "s"TRUE
startItemstart-itemSpecifies the starting item number.numberTRUE
totalItemstotal-itemsSpecifies the total number of items.numberTRUE

Events

The following events are observed by shiny:

EventDescription
calcitePaginationChangeEmits when the selected page changes.

Examples

calcite_pagination()
#> <calcite-pagination></calcite-pagination>