Time picker ui component for popup-clock
Click here to see online demo.
$ npm install popup-clock
var Timepicker = require('popup-clock');
var el = document.querySelector('[name=time]');
new Timepicker(el, options)
.clock
.on('change', function(v) {
el.value = (v.hour || '0') + ':' + (v.minute || '00');
});
Create a new Timepicker attached to el
input DOM node
clock reference
MIT