A Trello-like datepicker with freeform time.
// jQuery
$('input').picker()
// Vanilla
new Picker(document.getElementByTagName('input'))
startDate
Default: '-0d'
dateFormat
Default: 'MM/DD/YYYY'
defaultTimeRange
Default: { hours: 1 }
- Only used with an input range
doneText
Default: 'Done'
timeFormat
Default: 'h:mm A'
template
Default: JST.datepicker
outputTo
Default: this.$el
prefill
Default: true
onChange
Default: noop
bound to this
(picker instance)
- jQuery
- moment
- bootstrap-datepicker
npm install && bower install
gulp
- Open http://0.0.0.0:8000/example