Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 941 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 941 Bytes

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