Skip to content

Repository files navigation

NPM versionBuild StatusDependency Status

popup-clock

Time picker ui component for popup-clock

Click here to see online demo.

Installation

$ npm install popup-clock

Example

varTimepicker=require('popup-clock');varel=document.querySelector('[name=time]');newTimepicker(el,options).clock.on('change',function(v){el.value=(v.hour||'0')+':'+(v.minute||'00');});

API

new Timepicker(el)

Create a new Timepicker attached to el input DOM node

Timepicker.clock

clock reference

License

MIT

About

a timepicker component

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages