0.1.1 • Published 10 years ago
derby-datepicker v0.1.1
derby-datepicker
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.
Format
Dates set by datepicker will be in the format YYYY-MM-DD
(2014-04-16).
Example usage
First of make sure to install derby-datepicker through npm npm install derby-datepicker
.
Including
app.component(require('derby-datepicker'));
In template
<Body:>
<datepicker active="{{post.date}}"></datepicker>
Retrieve data
var pickedDate = model.get('post.date');