Files
angular-datepicker/README.md
g00fy d66312a81d updated css to match [date-time] selector (no .datetimepicker class required)
removed console.logs
reformatted index.html
updated bower dependencies (angular-unstable)
updated README #2
2013-06-18 22:33:19 +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>