A lightweight & configurable timepicker directive.
All settings can be provided as attributes in the <timepicker>
or globally configured through the timepickerConfig
.
-
ng-model
: The Date object that provides the time state. -
hour-step
(Defaults: 1) : Number of hours to increase or decrease when using a button. -
minute-step
(Defaults: 1) : Number of minutes to increase or decrease when using a button. -
show-meridian
(Defaults: true) : Whether to display 12H or 24H mode. -
meridians
(Defaults: ['AM', 'PM']) : Meridian labels -
readonly-input
(Defaults: false) : Whether user can type inside the hours & minutes input. -
mousewheel
(Defaults: true) : Whether user can scroll inside the hours & minutes input to increase or decrease it's values.