TimePicker
Description
The TimePicker component provides a native browser control for selecting a time. It stores the selected value as a DateTimeOffset and is useful for schedules, reminders, cut-off times, and other time-only inputs.
Usage
Create a TimePicker() with or without an initial value. You can combine it with min/max validation, browser fallback attributes, and change handlers.
Methods
WithBrowserFallback()adds apatternattribute for browsers that need a graceful fallback.Render()returns the underlying input element.
TimePicker also inherits the common picker helpers from MomentPickerBase, including methods such as SetStep(...), SetMin(...), SetMax(...), Disabled(...), validation helpers, and DOM event hooks.
Properties
Timegets the selected value as aDateTimeOffset.