Files
angular-datepicker/README.md
g00fy fdf8a67fef updated module name to datePicker
moved templates from `scripts` to `templates` directory
more verbose template names
updated `translate-z` to higher value - so we don't have conflicts with things like modals
unified bower.json with `master` branch
unified readme
updated `grunt` tasks to copy readme and bower.json
2013-06-20 00:27:20 +02:00

1.0 KiB

AngularJS datepicker directives

Requirements

  • Angular v1.1.4+
  • jQuery or your own implementation of position() on top of jQuery Lite

Development version

Checkout branch dev, run grunt install and bower install. To build run gunt build

Examples

Live demo : http://run.plnkr.co/erJj712N4bbkGsub/

defaults
<div date-picker="start"></div>
year view
<div date-picker="start" year></div>
month view
<div date-picker="start" month></div>
only date view
<div date-picker="start" date></div>
hours view
<div date-picker="start" hours></div>
minutes view
<div date-picker="start" minutes></div>
input as datepicker
<input type="datetime" date-time ng-model="start">
input with formatted value
<input type="datetime" date-time ng-model="end" hours format="short">
date-range picker
<div date-range start="start" end="end"></div>