Skip to content

Pickers

CircularTimePicker

Bit.BlazorUI

A BitCircularTimePicker picks a single time from an analog clock dial: an hour ring the pointer snaps to, then a minute ring and an optional second ring, with an AM/PM pair in 12-hour mode. It can be driven with a pointer or entirely from the keyboard, restricted to a range or a step, edited as text, laid out portrait or landscape, and rendered either inline or in a callout that becomes a sheet on small screens.

CSS variables

The public custom properties this component reads off its root, for what no parameter covers.

Every variable is read with a fallback and never declared by the component, so it inherits like any other custom property: set one on :root (or in a [bit-theme] block) to restyle every instance, on any ancestor to restyle the ones inside it, or on the Style of one instance to restyle it - and any instance nested inside it, which inherits the value too; a parameter changes one alone, as does the real CSS property on the instance's Style / Styles when that property does not inherit (opacity: 1 keeps one disabled instance undimmed without undimming a disabled one inside it), while an inherited one such as color or font-family also reaches the nested instances that do not set it themselves. Leave a variable unset and the component falls back to the theme token beside it.

BitCircularTimePicker CSS variables

Name Default value Description
--bit-CircularTimePicker-color --bit-clr-pri The accent of the picker: the toolbar, the hand, the pin, the selected number and the action buttons. Every part that follows it can also be re-pointed on its own. The Color parameter wins over it.
--bit-CircularTimePicker-text-color --bit-clr-pri-text The foreground drawn on top of the accent - the read-out in the toolbar, the selected number and the selected meridiem. The Color parameter wins over it.
--bit-CircularTimePicker-focus-color --bit-clr-pri-focus The focus ring of the field, the dial, the action buttons and the close button. The Color parameter wins over it. While it is unset, the focus ring is the library's own --bit-shd-focus-ring, so replacing that token re-shapes it too.
--bit-CircularTimePicker-label-color --bit-clr-fg-pri The label above the field.
--bit-CircularTimePicker-label-font-size --bit-tpg-fs-sm The text size of that label. Small, medium and large map to --bit-tpg-fs-xs, --bit-tpg-fs-sm and --bit-tpg-fs-md. The Size parameter wins over it.
--bit-CircularTimePicker-input-background --bit-clr-bg-pri The background of the field.
--bit-CircularTimePicker-input-color --bit-clr-fg-pri The text in the field.
--bit-CircularTimePicker-placeholder-color --bit-clr-fg-sec The placeholder of the field. It replaces the grey the browser picks on its own, which is not derived from the theme and drops below the contrast floor on most surfaces.
--bit-CircularTimePicker-input-font-size --bit-tpg-fs-sm The size of that text. Small, medium and large map to --bit-tpg-fs-xs, --bit-tpg-fs-sm and --bit-tpg-fs-md. The Size parameter wins over it.
--bit-CircularTimePicker-input-height --bit-siz-ctrl-md The height of the field, which is what lines it up with the other controls of a form. Small, medium and large map to --bit-siz-ctrl-sm, --bit-siz-ctrl-md and --bit-siz-ctrl-lg. The Size parameter wins over it.
--bit-CircularTimePicker-input-padding spacing(1) on the inline sides The padding of the field, around the text and the icon together.
--bit-CircularTimePicker-border-color --bit-clr-brd-pri The border of the field, the underline of the Underlined variant and the frame of the meridiem pair under the clock.
--bit-CircularTimePicker-border-width --bit-shp-brd-width The thickness of all three.
--bit-CircularTimePicker-border-radius --bit-shp-radius-control The corner radius of the field, the action buttons, the close button and the meridiem pair.
--bit-CircularTimePicker-icon-color --bit-clr-fg-sec The clock glyph in the field. It takes the accent instead while the field holds focus.
--bit-CircularTimePicker-callout-background --bit-clr-bg-pri The surface the clock sits on.
--bit-CircularTimePicker-callout-radius --bit-shp-radius-popup The corner radius of that surface.
--bit-CircularTimePicker-callout-shadow --bit-shd-popup The shadow under the callout. The responsive sheet keeps its own.
--bit-CircularTimePicker-toolbar-background --bit-CircularTimePicker-color The bar carrying the read-out. Set it on its own for a toolbar that does not follow the accent of the dial. The Color parameter wins over it.
--bit-CircularTimePicker-toolbar-color --bit-CircularTimePicker-text-color The foreground of that bar, which the parts of the time and the meridiem pair inside it inherit. The Color parameter wins over it.
--bit-CircularTimePicker-toolbar-padding spacing(2) on the block sides The padding of that bar.
--bit-CircularTimePicker-time-font-size --bit-tpg-fs-4xl * 1.375 The size of the read-out in the toolbar. The Size parameter wins over it.
--bit-CircularTimePicker-inactive-color The toolbar foreground, undimmed The parts of the time the dial is not on, and the half of the meridiem that is not selected. They are told apart by the rule under the active one rather than by being dimmed, since the toolbar foreground barely clears the contrast floor over the accent to begin with - set this only on a theme whose accent has the headroom for a dim.
--bit-CircularTimePicker-clock-size spacing(32.5) The diameter of the dial. Both rings, the length of the hand and the hit test are derived from it, so overriding it re-lays the whole clock out. The Size parameter wins over it.
--bit-CircularTimePicker-clock-background --bit-clr-bg-sec The face of the dial.
--bit-CircularTimePicker-clock-margin spacing(2) The room between the dial and everything around it.
--bit-CircularTimePicker-number-size spacing(4) The diameter of one number on the dial, which is also its pointer target and the size of its selected disc. The two rings of the 24-hour dial are laid out from what it leaves of the clock, and the pointer tells them apart at a fixed fraction of the radius - so a much larger number wants a larger --bit-CircularTimePicker-clock-size with it. The Size parameter wins over it.
--bit-CircularTimePicker-number-font-size 1em (the callout's --bit-tpg-fs-sm) The text size of those numbers. The Size parameter wins over it.
--bit-CircularTimePicker-number-color --bit-clr-fg-pri The numbers of the outer ring, the meridiem pair under the clock and the close button.
--bit-CircularTimePicker-inner-number-color --bit-clr-fg-sec The numbers of the inner ring, which only the 24-hour dial has.
--bit-CircularTimePicker-number-hover-background --bit-clr-bg-pri-hover The number under the pointer. Only a number that can still be picked lights up.
--bit-CircularTimePicker-selected-number-color --bit-CircularTimePicker-text-color The number the hand rests on. The Color parameter wins over it.
--bit-CircularTimePicker-selected-number-background --bit-CircularTimePicker-color The disc behind it. The Color parameter wins over it.
--bit-CircularTimePicker-disabled-number-color --bit-clr-fg-dis A number the bounds, the steps or the allowed-value predicates rule out.
--bit-CircularTimePicker-pointer-color --bit-CircularTimePicker-color The hand, the pin at the center and the ring of the thumb, which are one object drawn in three pieces. The Color parameter wins over it.
--bit-CircularTimePicker-pointer-width spacing(0.25) The thickness of the hand.
--bit-CircularTimePicker-pin-size spacing(0.75) The diameter of the pin at the center of the dial.
--bit-CircularTimePicker-thumb-size spacing(3.5) The disc at the end of the hand where it rests on a number. The Size parameter wins over it.
--bit-CircularTimePicker-minor-thumb-size spacing(1.75) The ring the thumb shrinks to between two marks, or on a part of the time that has not been set yet. The Size parameter wins over it.
--bit-CircularTimePicker-ampm-font-size --bit-tpg-fs-xl The meridiem pair beside the time in the toolbar. The Size parameter wins over it.
--bit-CircularTimePicker-clock-ampm-font-size --bit-tpg-fs-sm The meridiem pair under the clock, which AmPmInClock moves it to. The Size parameter wins over it.
--bit-CircularTimePicker-selected-ampm-color --bit-CircularTimePicker-text-color The foreground of the selected half of that pair. The Color parameter wins over it.
--bit-CircularTimePicker-selected-ampm-background --bit-CircularTimePicker-color Its background and border. The Color parameter wins over it.
--bit-CircularTimePicker-action-color --bit-CircularTimePicker-color The "now" and "clear" buttons under the clock. The Color parameter wins over it.
--bit-CircularTimePicker-action-font-size --bit-tpg-fs-sm The text size of those buttons.
--bit-CircularTimePicker-close-button-color --bit-CircularTimePicker-toolbar-color The close button. It is laid over the corner of the toolbar, so it is painted for the accent there; under a CalloutHeaderTemplate it takes that corner instead and falls back to --bit-clr-fg-pri. Over the toolbar the Color parameter wins over it; under a header it is the variable's alone.
--bit-CircularTimePicker-disabled-color --bit-clr-fg-dis The foreground of every disabled part - the label, the field, the toolbar, the numbers and the actions.
--bit-CircularTimePicker-disabled-background --bit-clr-bg-dis The background of the disabled field and toolbar, and of the hand and the selected number with it.
--bit-CircularTimePicker-disabled-border-color --bit-clr-brd-dis The border of the disabled field and of the meridiem pair.
--bit-CircularTimePicker-invalid-color --bit-clr-err The border and the icon of a field whose value failed validation.

API

Every parameter, public member, sub-class and enum this component exposes.

BitCircularTimePicker parameters

Name Type Default value Description
AllowedHours Func<int, bool>? null The hours that can be selected, on top of what MinTime, MaxTime and HourStep already allow. The predicate receives an hour of the day (0-23) whichever TimeFormat the clock is in.
AllowedMinutes Func<int, bool>? null The minutes that can be selected, on top of what MinTime, MaxTime and MinuteStep already allow. The predicate receives a minute of the hour (0-59).
AllowedSeconds Func<int, bool>? null The seconds that can be selected, on top of what MinTime, MaxTime and SecondStep already allow. The predicate receives a second of the minute (0-59).
AllowTextInput bool false Makes the field editable, so a time can be typed instead of dialled. The text is read on every keystroke with the ValueFormat, or, left unset, with the pattern of the Culture with or without the leading zeros. A typed time is checked against MinTime, MaxTime and the Allowed* predicates but not the steps. On an editable field Enter and Space no longer open the callout, and opening it leaves the focus in the field.
AmPmInClock bool false Renders the AM/PM pair under the clock instead of beside the time in the toolbar. Only the 12-hour format has a meridiem to place.
AutoClose bool false Closes the callout as soon as the selection is complete - the last part the dial offers is picked, or the "now" button is used - without waiting for the close button or a click outside of it. A standalone picker has no callout and ignores it.
AutoCloseDelay int 0 How long, in milliseconds, an AutoClose picker waits before it closes, so the pick that completed the selection can be seen being made. A further pick inside the wait supersedes it and starts it over.
AutoFocus bool false If true, the input of the TimePicker automatically receives focus when the page renders - the dial of a standalone picker, which has no visible input.
CalloutAriaLabel string Clock The accessible name of the callout: the dialog that holds the clock, or the group of a standalone picker.
CalloutFooterTemplate RenderFragment? null Custom template to render at the bottom of the callout, below everything it holds.
CalloutHeaderTemplate RenderFragment? null Custom template to render at the top of the callout, above everything it holds.
CalloutHtmlAttributes Dictionary<string, object> new Dictionary<string, object>() Capture and render additional attributes in addition to the main callout's parameters.
Classes BitCircularTimePickerClassStyles null Custom CSS classes for different parts of the TimePicker.
ClearButtonText string Clear The text of the button that clears the value of the TimePicker.
CloseButtonIcon BitIconInfo? null The icon for the close button using external icon libraries. Takes precedence over CloseButtonIconName when both are set.
CloseButtonIconName string? Cancel The name of the icon for the close button from the built-in Fluent UI icons. For external icon libraries, use CloseButtonIcon instead.
CloseButtonTitle string Close time picker The title of the close button (tooltip).
Color BitColor? null The general color of the TimePicker, applied to the toolbar, the dial pointer and the selected numbers. An explicit value wins over the --bit-CircularTimePicker-* accent, text and focus color variables and every color variable that defaults to them; left unset, the picker is primary unless they say otherwise.
Culture CultureInfo? CultureInfo.CurrentUICulture The culture the value is formatted and parsed with and the AM/PM designators are taken from; left unset it follows CultureInfo.CurrentUICulture. It does not change the TimeFormat, and the numbers of the dial are always written with the digits 0-9.
DisableFuture bool false Disables every time of day after the current time, exactly as a MaxTime of now would. Where both are set the earlier of the two wins. The current time is taken to the precision the dial shows.
DisablePast bool false Disables every time of day before the current time, exactly as a MinTime of now would. Where both are set the later of the two wins. The current time is taken to the precision the dial shows.
DisallowedTimeErrorMessage string? null The custom validation error message for a time entered as text that AllowedHours, AllowedMinutes or AllowedSeconds rejects. The steps are the one constraint typed text is not held to. Left unset it is "The {DisplayName or field name} field is not an allowed time."
DropDirection BitDropDirection BitDropDirection.TopAndBottom Determines the allowed drop directions of the callout: TopAndBottom keeps it above or below the field, All lets it take any side. Ignored by a standalone picker.
EditMode BitCircularTimePickerEditMode BitCircularTimePickerEditMode.Normal Choose the edition mode. By default, you can edit every part the picker shows. A mode pinned to one part leaves the rest as it is, the AM/PM pair included - it is shown but only offered where the hour is a part the picker edits.
HasBorder bool true Determines if the field of the TimePicker has a border. Set it to false for a picker that sits inside a container of its own.
HourButtonTitle string Select hour The title (and accessible name) of the button that switches the dial to the hours.
HourStep int 1 The step, in hours, the dial and the keyboard move the hour by. A step greater than 1 lays a grid over the day that the pick snaps to, dimming the hours in between, starting at the hour of MinTime and at midnight where there is none. Values below 1 are treated as 1.
Icon BitIconInfo? null The icon to display using custom CSS classes for external icon libraries (e.g., FontAwesome, Bootstrap Icons). Takes precedence over IconName when both are set.
IconName string? Clock The name of the icon from the built-in Fluent UI icons. For external icon libraries, use Icon instead.
IconPlacement BitPlacement BitPlacement.End Determines the side of the input the TimePicker's icon is rendered on. Only Start and End are honoured; any other value leaves the icon on the end side. The side follows the reading direction: Start is the left of an LTR input and the right of an RTL one.
IconTemplate RenderFragment? null Custom markup for the glyph of the field, which wins over Icon and IconName.
InvalidErrorMessage string? null The custom validation error message for a time entered as text that cannot be read with the ValueFormat. Left unset it is "The {DisplayName or field name} field is not valid."
InvertMouseWheel bool false Reverses the direction the mouse wheel moves the dial in.
IsOpen bool false Whether or not the callout of this TimePicker is open. Supports two-way binding; a change pushed in raises OnOpen or OnClose too, and closing it this way leaves the focus where it is. Ignored by a standalone picker.
Label string? null Label for the TimePicker.
LabelTemplate RenderFragment? null Used to customize the label for the TimePicker.
Landscape bool false Lays the clock out beside its toolbar instead of under it, from the small breakpoint up.
MaxTime TimeSpan? null The latest time that can be selected. Later hours, and the minutes past it inside its own hour, are dimmed on the dial and refused by the pointer, the keyboard and the text input. With MinTime it forms a range inside one day that does not wrap past midnight - use AllowedHours for a window that does.
MinTime TimeSpan? null The earliest time that can be selected. Earlier hours, and the minutes before it inside its own hour, are dimmed on the dial and refused by the pointer, the keyboard and the text input. It is also where the grids of HourStep, MinuteStep and SecondStep start.
MinuteButtonTitle string Select minute The title (and accessible name) of the button that switches the dial to the minutes.
MinuteStep int 1 The step, in minutes, the dial and the keyboard move the minute by. A step greater than 1 lays a grid over the hour that the pick snaps to, starting at the minute of MinTime and at the top of the hour where there is none. Values below 1 are treated as 1, and typed text is not held to it.
NoMouseWheel bool false Disables moving the dial with the mouse wheel entirely. By default the wheel moves it by one step while scrolled over the focused dial with the Shift key held down.
NowButtonText string Now The text of the button that sets the TimePicker to the current time.
OnClear EventCallback Callback for when the value is cleared using the clear button.
OnClick EventCallback Callback for when the field of the TimePicker is clicked, raised after the click has opened the callout. Opening it through OpenCallout or IsOpen does not raise it, and a standalone picker has no field to click.
OnClose EventCallback Callback for when the callout of the TimePicker closes.
OnFocus EventCallback Callback for when the TimePicker input receives focus. Unlike OnFocusIn it does not bubble, so it is the one to use when only the input itself receiving focus is of interest.
OnFocusIn EventCallback Callback for when focus moves into the TimePicker input or any of its descendants, since unlike OnFocus it bubbles.
OnFocusOut EventCallback Callback for when focus moves out of the TimePicker input.
OnOpen EventCallback Callback for when the callout of the TimePicker opens.
OnSelectTime EventCallback<TimeSpan?> Callback for every change of the time the picker itself makes - a pick or drag on the dial, a key, the AM/PM pair, the now and clear buttons (clear passes null) and each keystroke of typed text - with the new value.
OnViewChange EventCallback<BitCircularTimePickerView> Callback for when the dial switches between the hours, the minutes and the seconds.
OutOfRangeErrorMessage string? null The custom validation error message for a time entered as text that falls outside of MinTime and MaxTime. Text that does not read as a time at all reports InvalidErrorMessage instead. Left unset it is "The {DisplayName or field name} field is out of the allowed range."
Placeholder string? null Placeholder text for the TimePicker.
Responsive bool false Below the small breakpoint, turns the callout into a sheet anchored to the top of the screen that can be swiped away upwards. Ignored by a standalone picker.
SecondButtonTitle string Select second The title (and accessible name) of the button that switches the dial to the seconds.
SecondStep int 1 The step, in seconds, the dial and the keyboard move the second by. A step greater than 1 lays a grid over the minute that the pick snaps to, starting at the second of MinTime and at the top of the minute where there is none. Values below 1 are treated as 1.
ShowClearButton bool false Renders a button that clears the value of the TimePicker under the clock. It is disabled while the picker is empty, and clearing moves the dial back to its start view and raises OnClear.
ShowCloseButton bool false Whether the TimePicker's close button is shown in the corner of the callout - over the toolbar, or over the CalloutHeaderTemplate where there is one. A standalone picker has no callout to close and shows none.
ShowNowButton bool false Renders a button that sets the TimePicker to the current time under the clock, snapped to the steps and clamped into the selectable range.
ShowSeconds bool false Adds the seconds to the picker: a third ring the dial moves on to after the minute, a third part in the toolbar, and the seconds of the value kept instead of zeroed.
Size BitSize? null The size of the TimePicker. An explicit value wins over the --bit-CircularTimePicker-* size variables (label, field, read-out, meridiem and number text sizes, field height, clock, number and thumb sizes); left unset, the picker is medium unless they say otherwise.
Standalone bool false Renders the clock inline on the page instead of a field that opens it in a callout. The value still travels through a hidden input, and the dial takes the focus, the name of the field and its validation state. Everything about the callout (IsOpen, AutoClose, ShowCloseButton, DropDirection, Responsive) is ignored.
StartingValue TimeSpan? null The time an empty TimePicker starts from, instead of midnight. It is not a value: an untouched picker stays empty and the dial shows nothing selected - it is only where the first change lands.
StartView BitCircularTimePickerView BitCircularTimePickerView.Hour The part of the time the clock starts on when the picker opens. The EditMode wins over it, and so does a Second start view on a picker that does not show the seconds.
Styles BitCircularTimePickerClassStyles null Custom CSS styles for different parts of the TimePicker.
TimeFormat BitTimeFormat BitTimeFormat.TwentyFourHours The face of the clock: TwentyFourHours draws a double ring (13-00 outside, 01-12 inside), TwelveHours a single 1-12 ring with the AM/PM pair. The value is the same TimeSpan of the day either way, and the default ValueFormat follows it.
Underlined bool false Whether or not the field of the TimePicker is drawn as a single rule under it instead of a box.
ValueFormat string? null The format of the time in the TimePicker like "HH:mm". Left unset it follows the time pattern of the culture, rewritten into the TimeFormat, extended with the seconds where ShowSeconds is set and padded with the leading zeros. A format set here is used exactly as given, to write and to read the field, whatever TimeFormat and ShowSeconds say.

BitCircularTimePicker public members

Name Type Default value Description
InputId string? The id of the input element of the TimePicker.
View BitCircularTimePickerView The part of the time the clock is currently editing.
OpenCallout Task OpenCallout() Opens the callout of the TimePicker on its start view and moves the focus to the dial (unless AllowTextInput keeps it in the field), doing nothing when it is already open, disabled, or standalone and has no callout to open. It raises OnOpen but not OnClick.
DismissCallout Task DismissCallout() Closes the callout of the TimePicker, leaving the focus where it is - unlike a close the person makes, which hands it back to the field.
SwitchView Task SwitchView(BitCircularTimePickerView view) Switches the dial to the hours, the minutes or the seconds, as far as the EditMode and ShowSeconds allow it.

BitInputBase parameters

Name Type Default value Description
DefaultValue TValue? null The default value of the input to be used in uncontrolled mode (i.e. when the Value is not bound), typically used alongside the OnChange callback.
DisplayName string? null Gets or sets the display name for this field.
InputHtmlAttributes IReadOnlyDictionary<string, object>? null Gets or sets a collection of additional attributes that will be applied to the created element.
Name string? null Gets or sets the name of the element. Allows access by name from the associated form.
NoValidate bool false Disables the validation of the input.
OnChange EventCallback<TValue?> Callback for when the input value changes.
ReadOnly bool false Makes the input read-only.
Required bool false Makes the input required.
Value TValue? null Gets or sets the value of the input. This should be used with two-way binding.

BitInputBase public members

Name Type Default value Description
InputElement ElementReference The ElementReference of the input element.
FocusAsync() () => ValueTask Gives focus to the input element.
FocusAsync(bool preventScroll) (bool preventScroll) => ValueTask Gives focus to the input element.

BitComponentBase parameters

Name Type Default value Description
AriaLabel string? null Gets or sets the accessible label for the component, used by assistive technologies.
Class string? null Gets or sets the CSS class name(s) to apply to the rendered element.
Dir BitDir? null Gets or sets the text directionality for the component's content.
Disabled bool false Gets or sets a value indicating whether the component is disabled and cannot respond to user interaction.
ForceAnimation bool false Gets or sets a value indicating whether the component's animations play at their full duration even when reduced motion is requested.
HtmlAttributes Dictionary<string, object> new Dictionary<string, object>() Captures additional HTML attributes to be applied to the rendered element, in addition to the component's parameters. An attribute written on the component wins over an entry of the same name.
Id string? null Gets or sets the unique identifier for the component's root element.
Style string? null Gets or sets the CSS style string to apply to the rendered element.
TabIndex string? null Gets or sets the tab order index for the component when navigating with the keyboard.
Visibility BitVisibility BitVisibility.Visible Gets or sets the visibility state (visible, hidden, or collapsed) of the component.

BitComponentBase public members

Name Type Default value Description
UniqueId Guid Guid.NewGuid() Gets the readonly unique identifier for the component's root element, assigned when the component instance is constructed.
RootElement ElementReference Gets the reference to the root HTML element associated with this component.

BitCircularTimePickerClassStyles properties

Name Type Default value Description
Root string? null Custom CSS classes/styles for the root element of the BitCircularTimePicker.
Focused string? null Custom CSS classes/styles added to the root of the BitCircularTimePicker while the field or its open callout holds the focus.
Label string? null Custom CSS classes/styles for the Label of the BitCircularTimePicker.
InputWrapper string? null Custom CSS classes/styles for the input wrapper of the BitCircularTimePicker.
InputContainer string? null Custom CSS classes/styles for the input container of the BitCircularTimePicker.
Input string? null Custom CSS classes/styles for the input of the BitCircularTimePicker.
Icon string? null Custom CSS classes/styles for the icon of the BitCircularTimePicker.
Overlay string? null Custom CSS classes/styles for the transparent overlay behind the open callout, a click on which closes it.
Callout string? null Custom CSS classes/styles for the callout of the BitCircularTimePicker - the dial of a standalone picker. It is rendered beside the root rather than inside it, so Class does not reach it.
CalloutContainer string? null Custom CSS classes/styles for the callout container of the BitCircularTimePicker.
CalloutHeader string? null Custom CSS classes/styles for the callout header, the container of the CalloutHeaderTemplate.
CalloutFooter string? null Custom CSS classes/styles for the callout footer, the container of the CalloutFooterTemplate.
Toolbar string? null Custom CSS classes/styles for the toolbar of the BitCircularTimePicker.
Body string? null Custom CSS classes/styles for the body of the BitCircularTimePicker - everything under the toolbar: the clock, the AM/PM pair when it is placed there, and the row of actions.
HourMinuteContainer string? null Custom CSS classes/styles for the hour and minute container of the BitCircularTimePicker.
HourButton string? null Custom CSS classes/styles for the hour button of the BitCircularTimePicker.
MinuteButton string? null Custom CSS classes/styles for the minute button of the BitCircularTimePicker.
SecondButton string? null Custom CSS classes/styles for the second button of the BitCircularTimePicker.
HourMinuteSeparator string? null Custom CSS classes/styles for the hour minute separator of the BitCircularTimePicker.
HourMinuteText string? null Custom CSS classes/styles for the hour/minute text rendered in the single-part edit modes of the BitCircularTimePicker.
AmPmContainer string? null Custom CSS classes/styles for the AM/PM container of the BitCircularTimePicker.
AmButton string? null Custom CSS classes/styles for the AM button of the BitCircularTimePicker.
PmButton string? null Custom CSS classes/styles for the PM button of the BitCircularTimePicker.
SelectedButtons string? null Custom CSS classes/styles added to the toolbar part the dial is on and to the selected half of the AM/PM pair.
ClockContainer string? null Custom CSS classes/styles for the clock container of the BitCircularTimePicker.
ClockFace string? null Custom CSS classes/styles for the clock face of the BitCircularTimePicker.
ClockPin string? null Custom CSS classes/styles for the clock pin of the BitCircularTimePicker.
ClockNumber string? null Custom CSS classes/styles for the clock number of the BitCircularTimePicker.
ClockSelectedNumber string? null Custom CSS classes/styles for the clock selected number of the BitCircularTimePicker.
ClockDisabledNumber string? null Custom CSS classes/styles for a clock number that cannot be selected, because of the time bounds, the steps or the allowed-value predicates.
ClockPointer string? null Custom CSS classes/styles for the clock pointer of the BitCircularTimePicker.
ClockPointerThumb string? null Custom CSS classes/styles for the clock pointer thumb of the BitCircularTimePicker.
ClockPointerThumbMinute string? null Custom CSS classes/styles for the clock pointer thumb of the BitCircularTimePicker when it does not rest on a number of the dial - between two marks, or on a part of the time that has not been set yet.
Actions string? null Custom CSS classes/styles for the row holding the "now" and "clear" buttons of the BitCircularTimePicker.
NowButton string? null Custom CSS classes/styles for the button that sets the BitCircularTimePicker to the current time.
ClearButton string? null Custom CSS classes/styles for the button that clears the value of the BitCircularTimePicker.
CloseButton string? null Custom CSS classes/styles for the close button of the BitCircularTimePicker.
CloseButtonIcon string? null Custom CSS classes/styles for the close button icon of the BitCircularTimePicker.

BitPlacement enum

Name Value Description
Top 0 The top edge.
Bottom 1 The bottom edge.
Start 2 The edge the reading direction starts from - the left in LTR, the right in RTL. On the vertical axis, which does not turn around, it is the top.
End 3 The edge the reading direction ends at - the right in LTR, the left in RTL. On the vertical axis, which does not turn around, it is the bottom.
Left 4 The left edge, in both reading directions.
Right 5 The right edge, in both reading directions.
Center 6 The middle of the axis, against neither edge.
TopAndBottom 7 Both edges of the block axis at once.
StartAndEnd 8 Both edges of the inline axis at once, following the reading direction the way Start and End do.

BitDropDirection enum

Name Value Description
All 0 The direction determined automatically based on the available spaces in all directions.
TopAndBottom 1 The direction determined automatically based on the available spaces in only top and bottom directions.

BitCircularTimePickerEditMode enum

Name Value Description
Normal 0 Every part the picker shows can be edited, and settling one moves the dial on to the next.
OnlyMinutes 1 Only the minute can be edited; the rest of the current value is kept as it is.
OnlyHours 2 Only the hour can be edited; the rest of the current value is kept as it is.
OnlySeconds 3 Only the second can be edited; the rest of the current value is kept as it is. The picker deals in seconds in this mode whether or not ShowSeconds is set.

BitCircularTimePickerView enum

Name Value Description
Hour 0 The dial selects the hour.
Minute 1 The dial selects the minute.
Second 2 The dial selects the second, which only a picker that shows the seconds ever moves on to.

BitTimeFormat enum

Name Value Description
TwentyFourHours 0 Show time pickers in 24 hours format.
TwelveHours 1 Show time pickers in 12 hours format.

BitSize enum

Name Value Description
Small 0 The small size.
Medium 1 The medium size.
Large 2 The large size.

BitColor enum

Name Value Description
Primary 0 Primary general color.
Secondary 1 Secondary general color.
Tertiary 2 Tertiary general color.
Info 3 Info general color.
Success 4 Success general color.
Warning 5 Warning general color.
SevereWarning 6 SevereWarning general color.
Error 7 Error general color.
PrimaryBackground 8 Primary background color.
SecondaryBackground 9 Secondary background color.
TertiaryBackground 10 Tertiary background color.
PrimaryForeground 11 Primary foreground color.
SecondaryForeground 12 Secondary foreground color.
TertiaryForeground 13 Tertiary foreground color.
PrimaryBorder 14 Primary border color.
SecondaryBorder 15 Secondary border color.
TertiaryBorder 16 Tertiary border color.

BitVisibility enum

Name Value Description
Visible 0 The content of the component is visible.
Hidden 1 The content of the component is hidden, but the space it takes on the page remains (visibility:hidden).
Collapsed 2 The component is hidden (display:none).

BitDir enum

Name Value Description
Ltr 0 Ltr (left to right) is to be used for languages that are written from the left to the right (like English).
Rtl 1 Rtl (right to left) is to be used for languages that are written from the right to the left (like Arabic).
Auto 2 Auto lets the user agent decide. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then applies that directionality to the whole element.

Feedback

Found a mistake, a gap, or something that could be clearer? Every page and every component is one click from its source.