Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

unfedorg/angular-datepicker

Open more actions menu
 
 

Repository files navigation

AngularJS datepicker directives

WIP

Requirements

  • Angular v1.2+

Development version

Checkout, run npm install and bower install. To build run grunt build

Examples

Live demo

defaults
<div date-picker="start"></div>
views:

(initial) view

<div date-picker="start" view="year"></div>

(max) view

<div date-picker="start" max-view="month"></div>

(min) view

only date view
<div date-picker="start" min-view="date"></div>
Close the picker when min-view is reached
<div date-picker="start" auto-close="true"></div>
Min and Max Date

Only add's validation to ngModel, must be provided a valid date object or valid date string.

<div date-picker="start" min-date="Date string | Expression" max-date="Date string | Expression"></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>

How to release

After a new distribution package has been pushed, a new release can be triggered with grunt-bump :

grunt bump

You can see what the release process will do by doing a dry run :

grunt bump --dry-run

About

calendar and datepicker directives for angular

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 53.8%
  • CSS 38.0%
  • HTML 8.2%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.