Datepicker component for derby.js.
At the time being there is only an inline version. If you have any suggestions or improvements, open an issue or send a pull request!
Please note that this project is inspired by Bootstrap-datepicker, and makes use of a css-file from that project.
Dates set by datepicker will be in the format YYYY-MM-DD
(2014-04-16).
First of make sure to install derby-datepicker through npm npm install derby-datepicker
.
app.use(require('derby-datepicker'));
<Body:>
<datepicker active="{{post.date}}"></datepicker>
var pickedDate = model.get('post.date');