TimePicker

TimePicker

Angular Bootstrap material time picker is a component which uses a dialog to select a single time in hours:minutes format. The selected time is indicated by the filled circle at the end of the clock hand.

Examples

Default TimePicker example.

image info

html
<CDBTimepicker placeholder="10:05 AM" theme="SoundCloud" colorPalette="dark"></CDBTimepicker>

API

Here in this section you will find information about required modules and available inputs, outputs, methods and events of this component.

Angular Bootstrap TimePicker Modules used

import {TimePickerModule } from 'cdbangular';

API Reference: Contrast TimePicker Inputs

The table below shows the possible input of the TimePicker component.

NameTypeDefaultDescriptionExample
placeholderStringRequired! Sets placeholder for time indicator inputplaceholder="placeholder"
timeStringSets the timetime="09:30:30 AM"
classStringAdds custom classesAdds custom classesclass="myClass"
themeStringSets the theme of the time picker. Can be either material, classic or neomorphismtheme="classic"
colorPaletteStringlightChanges the color palette of the time picker. Can be either light or darkcolorPalette="dark"
disableBooleanfalseDisables TimePicker component[disabled] = false