autoswitch
Automatically change hour-minute or minute-hour on mouseup/touchend. (Default: false)
<script src="js/timedropper.js"></script>
<link rel="stylesheet" type="text/css" href="js/timedropper.css">
<input type="text" id="alarm" />
<script>$( "#alarm" ).timeDropper();</script>
Automatically change hour-minute or minute-hour on mouseup/touchend. (Default: false)
Automatically set current time by default.(Default: true)
If set "false", the input "value" attribute is considered as main time value.
Animation Style to use when init timedropper. There are three available animation values: fadeIn(default), dropDown.
Set time in 12-hour clock in which the 24 hours of the day are divided into two periods. (Default: false)
Enables time change using mousewheel. (Default: false)
A time format string that timeDropper expects existing values to be in and will write times out it. (Default: h:mm a)
Value | Description | Result |
---|---|---|
H | 24-hour format non-padded number | 0-24 |
h | 12-hour format non-padded number | 1-12 |
HH | 24-hour format padded number | 00-24 |
hh | 12-hour format padded number | 01-12 |
m | Non-padded numeric minutes | 1-59 |
mm | padded numeric minutes | 01-59 |
a | lower case meridian | am-pm |
A | upper case meridian | AM-PM |
Specify a color value for drop down accent color. Default: #1977CC
Specify a color value for drop down text color. Default: #555
Specify a color value for drop down background color. Default: #FFFFFF
Specify a color value for drop down border color. Default: #1977CC