GithubHelp home page GithubHelp logo

metallhero / angular-datepicker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from g00fy-/angular-datepicker

0.0 2.0 0.0 1.02 MB

calendar and datepicker directives for angular

License: MIT License

JavaScript 53.71% HTML 8.17% CSS 38.12%

angular-datepicker's Introduction

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

angular-datepicker's People

Contributors

g00fy- avatar eralha avatar astik avatar set321go avatar aaronroberson avatar lperrin avatar schizoduckie avatar silverwolfx10 avatar cloutierlp avatar tehasdf avatar stefan-sopic avatar saliba avatar westberliner avatar hi-fi avatar janantala avatar qivan avatar chrisconley avatar bulutcy avatar lolmaus avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.