0.3.1 • Published 10 years ago

d-datepicker v0.3.1

Weekly downloads
5
License
MIT
Repository
github
Last release
10 years ago

d-datepicker

Datepicker component for Derby.

Please note that this project is inspired by Bootstrap-datepicker, and makes use of a css-file from that project.

Features

  • Datepicker tied to a standard form input field.
  • Inline datepicker.
  • Localized datepicker.

Format

Dates set by datepicker will be in the format YYYY-MM-DD (2014-04-16).

TODO

  • Use personalized formats for dates.

Usage example

First of make sure to install d-datepicker through npm npm install d-datepicker.

Including

app.use(require('d-datepicker'));

In template

<Body:>
  <!-- datepicker tied to a standard form input field -->
  <datepicker active="{{post.date}}"></datepicker>

  <!-- inline datepicker -->
  <datepicker active="{{post.date}}" inline></datepicker>

  <!-- localized datepicker -->
  <datepicker active="{{post.date}}" inline lang="fr"></datepicker>

Retrieve data

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

10 years ago

0.3.0

10 years ago

0.2.11

10 years ago

0.2.10

10 years ago

0.2.9

10 years ago

0.2.8

10 years ago

0.2.7

10 years ago

0.2.6

10 years ago

0.2.5

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.0.0

10 years ago

0.1.1

10 years ago