1.0.2 • Published 7 years ago

ct-ng2-datepicker v1.0.2

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

ct-ngx-datepticker

NOTE:

In accordance with the naming scheme for angular to avoid using 2 in the name, we have renamed to ct-ngx-datepicker with a new NPM package and repo https://github.com/Centeva/ngx-datepicker

Introduction

A single and dual date picker, written for angular 2+ projects.

Code Samples

Usage Example

<ct-date-picker [(date)]="date1" zIndex="100" formControlName="singlePicker">
    <input #date class="form-control" />
</ct-date-picker>
<ct-dual-picker [(dateFrom)]="date2" [(dateTo)]="date3" zIndex="100" formControlName="dualPicker">
    <input #dateFrom class="form-control" />
    <input #dateTo class="form-control" />
 </ct-dual-picker>

Installation

npm install --save ct-ng2-datepicker    

Requirements

  • Angular 2+ (common, core, forms)
  • jQuery 3+ (see note below)
  • moment 2

Why jQuery?

I have already implemented the datepicker using the renderer class to support Angular Universal Apps, and avoid needing jQuery. However at this time renderer is experimental. When it is no longer experimental the code will be updated.

Why moment?

Because the datepicker returns a moment date, not a string.

Release Notes

  • 1.0.2 -- Notice about new repo.
  • 1.0.1 -- Unspecified bug fixes (sorry, just starting to do this right)
  • 1.0.0 -- Initial Release

    Migration Notes

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.5.0-beta.3

7 years ago

0.5.0-beta.2

7 years ago

0.5.0-beta.1

7 years ago

0.4.0

7 years ago

0.3.8

7 years ago

0.3.7

7 years ago

0.3.6

7 years ago

0.3.5

7 years ago

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago