Nesting Penguins Molt

    popup-clock

    2.0.0 • Public • Published

    NPM version Build Status Dependency Status

    popup-clock

    Time picker ui component for popup-clock

    Timepicker

    Click here to see online demo.

    Installation

    $ npm install popup-clock
    

    Example

    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');
      });

    API

    new Timepicker(el)

    Create a new Timepicker attached to el input DOM node

    Timepicker.clock

    clock reference

    License

    MIT

    Keywords

    Install

    npm i popup-clock

    DownloadsWeekly Downloads

    6

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    4.44 kB

    Total Files

    5

    Last publish

    Collaborators

    • pirxpilot