manhattan-time-picker
v1.0.5
Published
Time parsing and picking for form fields.
Downloads
14
Maintainers
Readme
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()