Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.36 KB

README.md

File metadata and controls

35 lines (28 loc) · 1.36 KB

Manhattan Time Picker

Time parsing and picking for form fields.

npm version Build Status Coverage Status dependencies status

Installation

npm install manhattan-date-picker --save-dev

Usage

<label>
    Time
    <input
        name="text"
        value="10:30"
        data-mh-time-picker
        >
</label>
import * as $ from 'manhattan-essentials'
import {timePicker} from 'manhattan-time-picker'

const picker = new timePicker.DatePicker($.one('[data-mh-time-picker]'))
picker.init()