datetime-picker

0.6.0 • Public • Published

datepicker

A Trello-like datepicker with freeform time.

Usage

// jQuery
$('input').datepicker()
 
// Vanilla
new Picker(document.getElementByTagName('input'))

Options

dateFormat

Default: 'MM/DD/YYYY'

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)

Dependencies

  • jQuery
  • moment
  • bootstrap-datepicker

Development

Readme

Keywords

none

Package Sidebar

Install

npm i datetime-picker

Weekly Downloads

66

Version

0.6.0

License

MIT

Last publish

Collaborators

  • nicinabox