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: null) : Meridian labels based on locale. To override you must supply an array like ['AM', 'PM']. -
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. -
arrowkeys(Defaults: true) : Whether user can use up/down arrowkeys inside the hours & minutes input to increase or decrease it's values. -
show-spinners(Defaults: true) : Shows spinner arrows above and below the inputs