Skip to contents

Create a InputTimePicker component

Usage

calcite_input_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
disableddisabledWhen true, interaction is prevented and the component is displayed with lower opacity.booleanTRUE
focusTrapDisabledfocus-trap-disabledWhen true, prevents focus trapping.booleanTRUE
formformThe id of the form that will be associated with the component. When not set, the component will be associated with its ancestor form element, if any.stringTRUE
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
maxmaxWhen the component resides in a form, specifies the maximum value.stringTRUE
messageOverridesNAUse this property to override individual strings used by the component.Check API referenceFALSE
minminWhen the component resides in a form, specifies the minimum value.stringTRUE
namenameSpecifies the name of the component on form submission.stringFALSE
numberingSystemnumbering-systemSpecifies the Unicode numeral system used by the component for localization."arab" | "arabext" | "latn"FALSE
openopenWhen true, displays the calcite-time-picker component.booleanTRUE
overlayPositioningoverlay-positioningDetermines the type of positioning to use for the overlaid content. Using "absolute" will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout. "fixed" should be used to escape an overflowing parent container, or when the reference element's position CSS property is "fixed"."absolute" | "fixed"FALSE
placementplacementDetermines where the popover will be positioned relative to the input."auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "leading" | "leading-end" | "leading-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start" | "trailing" | "trailing-end" | "trailing-start"TRUE
readOnlyread-onlyWhen true, the component's value can be read, but controls are not accessible and the value cannot be modified.booleanTRUE
requiredrequiredWhen true and the component resides in a form, the component must have a value in order for the form to submit.booleanTRUE
scalescaleSpecifies the size of the component."l" | "m" | "s"TRUE
statusstatusSpecifies the status of the input field, which determines message and icons."idle" | "invalid" | "valid"TRUE
stepstepSpecifies the granularity the component's value must adhere to (in seconds).numberFALSE
validationIconvalidation-iconSpecifies the validation icon to display under the component.boolean | stringTRUE
validationMessagevalidation-messageSpecifies the validation message to display under the component.stringFALSE
validityNAThe current validation state of the component.Check API referenceFALSE
valuevalueThe time value in ISO (24-hour) format.stringFALSE

Events

The following events are observed by shiny:

EventDescription
calciteInputTimePickerBeforeCloseFires when the component is requested to be closed and before the closing transition begins.
calciteInputTimePickerBeforeOpenFires when the component is added to the DOM but not rendered, and before the opening transition begins.
calciteInputTimePickerChangeFires when the component's value is changes.
calciteInputTimePickerCloseFires when the component is closed and animation is complete.
calciteInputTimePickerOpenFires when the component is open and animation is complete.

Examples

calcite_input_time_picker()
#> <calcite-input-time-picker></calcite-input-time-picker>