ender-timepicker
v0.1.1
Published
Ender Time picker.
Downloads
5
Readme
timePicker
A ender time picker based on https://github.com/perifer/timePicker
Dependency: The Jeesh
If you're already using ender, you can add it to your existing instance :
$ ender add calender
Simple usage:
<link rel="stylesheet" type="text/css" href="timepicker.css">
<script src="http://ender-js.s3.amazonaws.com/jeesh.min.js"></script>
<script src="timepicker.js"></script>
<script>
$("#time1").timepicker();
</script>
Add options:
02.00 AM - 03.30 PM, 15 minutes steps:
$("#time2").timePicker({
startTime: new Date(0, 0, 0, 2, 00, 0),
endTime: new Date(0, 0, 0, 15, 30, 0),
show24Hours: false,
step: 15});