2.0.0 • Published 3 years ago

the-simple-timepicker v2.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Simple Timepicker

Installation

Implementation

  <div id="timer_picker"></div>


  <script>
    $('#timer_picker').timePicker({
        mode: 24, // you can use 12 
        minuteGap: 5,
        enableHour: true,
        enableSecond: true,
        inputName: 'time', // you can use your own input field name
        default: '00:05',
        selectedValue: function(value) {
           .... 
        },
        change: function(el) {
           .... 
        }
    })
  </script>

Improvement

  • Should be implement multiple timepicker in same page

credit goes to https://codepen.io/larsmagnus/pen/xYrKLj