Skip to main content

TimePicker API Overview

Initialization

<script>
import { TimePicker } from "wx-svelte-core";
</script>

<!-- minimal configuration for initialization -->
<TimePicker />
tip
  • Visit the Features Guide to learn more about the control's functionality.
  • Explore the samples to visualize the available features.

TimePicker Properties

csschanges the position of the icon in the input
disableddefines whether a time picker is disabled
errordefines whether error styling is applied to a time picker
formatsets the time format for a time picker input
idsets an HTML id for a time picker
titlesets a tooltip text with additional info about the control
valuesets the value of a time picker