Skip to content
A framework-agnostic minimal date picker
JavaScript Shell HTML
Branch: master
Clone or download
abluchet
abluchet v5.2.1
Latest commit ce8d2aa Sep 11, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.scripts
docs
examples feat: showCalendarOnInputFocus, showCalendarButton, multiple formats Aug 13, 2018
src
test
.babelrc DPicker big refactor (read) on to v5 Apr 10, 2017
.gitignore
.npmignore
.travis.yml
CHANGELOG.md
LICENSE
README.md fix readme code Apr 12, 2017
bower.json fix(): Remove the maquettejs hard-dependency fix #1 Aug 5, 2016
jsdoc.conf.json
module.test.js
package-lock.json
package.json v5.2.1 Sep 11, 2018

README.md

DPicker

Build Status codecov

A framework-agnostic minimal date picker.

Quick start

<label>
  <input type="datetime">
</label>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.min.js"></script>
<script type="text/javascript" src="https://unpkg.com/dpicker@latest/dist/dpicker.all.min.js"></script>
<script>
  [].slice.call(document.querySelectorAll('input[type="date"],input[type="datetime"]')).forEach(function(e){new dpicker(e);});
</script>

Read the docs

License

MIT

You can’t perform that action at this time.