🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

angular-datepicker

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-datepicker

## WIP

1.0.5
latest
Source
npm
Version published
Weekly downloads
384
-31.31%
Maintainers
1
Weekly downloads
 
Created
Source

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>

FAQs

Package last updated on 15 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts