dpicker
v5.2.1
Published
A framework-agnostic minimal date picker.
Downloads
375
Readme
DPicker
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