An input that display and edit a time, as the timepicker from angular ui bootstrap but plugged to a moment or a string.
Supports min/max, binded to the $scope. If your min or max changes, the input is notified and will work accordingly. Feature not present for the ui bootstrap timepicker as of version 0.13.4.
Supports the change of day, meaning you can set the min to today 8AM and max to tomorrow 2 AM and the input will accept any time from 08:00 to 02:00.
Supports up and down key events and scroll event to increment/decrement the value.
Supports an format argument if you don't want to bind to a moment but to a string.
ng-model : the variable to bind tong-change : events to launch when the value is updatedis-disabled : to enable or disable the inputformat : "'HH:mm:ss'" for example, if your value is a string and you still want to use the component
<luid-moment ng-model="myValue"></luid-moment> <luid-moment ng-model="myValue" format="'HH:mm:ss'"></luid-moment>