manhattan-date-picker
v1.0.6
Published
Date parsing and picking for form fields.
Downloads
11
Maintainers
Readme
Installation
npm install manhattan-date-picker --save-dev
Usage
<label>
Date
<input
name="date"
value="23 March 2018"
data-mh-date-picker
>
</label>
import * as $ from 'manhattan-essentials'
import {datePicker} from 'manhattan-date-picker'
const picker = new datePicker.DatePicker($.one('[data-mh-date-picker]'))
picker.init()