Skip to content

NAndreasson/derby-datepicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

"Screenshot of datepicker component"

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.use(require('derby-datepicker'));

In template

<Body:>
  <datepicker active="{{post.date}}"></datepicker>

Retrieve data

var pickedDate = model.get('post.date');

About

Datepicker component for derby.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published