Skip to contents

Create a TimePicker component

Usage

calcite_time_picker(...)

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
hourFormathour-formatSpecifies the component's hour format, where: "user" displays the user's locale format, "12" displays a 12-hour format, and "24" displays a 24-hour format."12" | "24" | "user"TRUE
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
scalescaleSpecifies the size of the component."l" | "m" | "s"TRUE
stepstepSpecifies the granularity the value must adhere to (in seconds).numberTRUE
valuevalueThe component's value in UTC (always 24-hour format).stringFALSE

Events

The following events are observed by shiny:

EventDescription
calciteTimePickerChange

Examples

calcite_time_picker()
#> <calcite-time-picker></calcite-time-picker>